<DIV id=RTEContent>the following code works perfectly</DIV>  <DIV>import socket, sys</DIV>  <DIV>s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)</DIV>  <DIV>s.connect(("<A href="http://www.python.org">www.python.org</A>", 80))</DIV>  <DIV>s.send("GET")</DIV>  <DIV>while 1:<BR>    buf = s.recv(1000)<BR>    if not buf:<BR>        break<BR>    sys.stdout.write(buf)</DIV>  <DIV>s.close()<BR></DIV>  <DIV>but the following code does not work</DIV>  <DIV> </DIV>  <DIV>  <DIV>import socket, sys</DIV>  <DIV>s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)</DIV>  <DIV>s.connect(("<A href="http://www.google.co.in/search?hl=en&q=india&meta=">http://www.google.co.in/search?hl=en&q=india&meta=</A>", 80))</DIV>  <DIV>s.send("GET")</DIV>  <DIV>while 1:<BR>    buf = s.recv(1000)<BR>    if not buf:<BR>       
 break<BR>    sys.stdout.write(buf)</DIV>  <DIV>s.close()</DIV>  <DIV> </DIV>  <DIV>the given url is the google search url for the string india.can u suggest some way to access the google search result page through SOCKETS.</DIV></DIV>  <DIV> </DIV>  <DIV> </DIV><p>Send instant messages to your online friends http://in.messenger.yahoo.com