Added a Note to EXAMPLES.txt that tells users that google has different ip-adresses in different regions and that they might have to check the correct one for them.

This commit is contained in:
Kaito 2018-04-23 16:47:46 +02:00
parent 64b2228feb
commit 430169b639

View file

@ -15,6 +15,9 @@ Fetch Google's home page:
./http_client -H www.google.co.uk -s 2a00:1450:4009:80c::2003:443 -p / ./http_client -H www.google.co.uk -s 2a00:1450:4009:80c::2003:443 -p /
NOTE: If you do not get a response from the google server the ip-adress might be wrong. Google.com has different ip-adresses in different regions and if you are using an ip adress from a wrong region the server won't respond.
You can find out the correct ip-adress by visiting google.com in your browser using an add-on that shows you the ip-adress for example.
In the example above, -H specifies the domain; it is also used as the value In the example above, -H specifies the domain; it is also used as the value
of SNI paramater in the handshake. of SNI paramater in the handshake.