socket question

Peter Hansen peter at engcorp.com
Sun Jan 20 17:50:16 EST 2002


maximilianscherr wrote:
> 
> have seen it, but don't really understand it, like if i do a
> socket.recv() does it wait until it receives data?

You might benefit by reading all the documentation on the socket
module first.  Admittedly the information about socket.recv()
waiting to receive data is not clear in the paragraph about 
socket.recv(), but it is later implied by the information in 
socket.setblocking().

-Peter



More information about the Python-list mailing list