From 430169b639d0c4ed744d38877bbfa38699857af9 Mon Sep 17 00:00:00 2001 From: Kaito Date: Mon, 23 Apr 2018 16:47:46 +0200 Subject: [PATCH] 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. --- EXAMPLES.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EXAMPLES.txt b/EXAMPLES.txt index d173515..0495779 100644 --- a/EXAMPLES.txt +++ b/EXAMPLES.txt @@ -15,6 +15,9 @@ Fetch Google's home page: ./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 of SNI paramater in the handshake.