How do I reconnect a disconnected socket?

Laszlo Nagy gandalf at shopzeus.com
Fri Mar 28 17:28:02 CET 2008


> Yes, that is exactly what it means.
>
> >From the recv() man page:
>
> RETURN VALUE
>        These  calls  return  the  number  of bytes received, or -1 if an error
>        occurred.  The return value will be 0 when the peer  has performed  an
>        orderly shutdown.
>
>   
Mea cupla. :-)

What about non-blocking sockets?



More information about the Python-list mailing list