> 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? -- http://mail.python.org/mailman/listinfo/python-list