Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~374 People Reached
Favorite Forums
Favorite Tags
Member Avatar for ramsha.shahid.3139

Hi all, I am working on simplest web browser import socket mysock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) mysock.connect(('www.py4info.com',80)) mysock.send('GET http://www.py4inf.com/code/romeo.txt HTTP/1.0\n\n') while True: data=mysock.recv(512) print data mysock.close() It's returning error 408:Request timeout at one time and at other runs smoothly but with incomplete output as: HTTP/1.1 200 OK Date: Sun, 14 Mar 2010 23:52:41 GMT …

Member Avatar for chriswelborn
0
374