Grant Edwards wrote: > If the server has closed the connection, then a recv() on the > socket will return an empty string "",
after returning all the data the remote side had sent, of course. > and a send() on the > socket will raise an exception. Send() might, and in many cases should, raise an exception after the remote side has closed the connection, but the behavior is unreliable. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list