Detecting socket connection failure

Dieter Maurer dieter at handshake.de
Sun Jul 23 16:50:41 EDT 2006


schwehr at gmail.com writes on 19 Jul 2006 08:34:00 -0700:
> ...
> Were you also using mac osx?

No, I have observed the problem under Linux.


> Dieter Maurer wrote:
> ....
> > I have seen something similar recently:
> >
> >   I can write ("send" to be precise) to a socket closed by
> >   the foreign partner without error
> >   (but of course, the written data does not arrive at the remote side).
> >   Only the second "send" raises an exception.
> > 
> >   I expect this is a TCP bug.



More information about the Python-list mailing list