This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients GeorgeY, martin.panter, r.david.murray
Date 2016-10-20.14:57:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476975421.62.0.732467529453.issue28447@psf.upfronthosting.co.za>
In-reply-to
Content
Unless I'm missing something, this indicates that the problem is that once the far end closes, Windows will no longer return the peer name.  

And, unless I'm misreading, the behavior will be the same on Unix.  The man page for getpeername says that ENOTCONN is returned if the socket is not connected.

This isn't a bug in Python.  Or Windows, though the error message is a bit counter-intuitive to a unix programmer.
History
Date User Action Args
2016-10-20 14:57:01r.david.murraysetrecipients: + r.david.murray, martin.panter, GeorgeY
2016-10-20 14:57:01r.david.murraysetmessageid: <1476975421.62.0.732467529453.issue28447@psf.upfronthosting.co.za>
2016-10-20 14:57:01r.david.murraylinkissue28447 messages
2016-10-20 14:57:01r.david.murraycreate