Message279036
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. |
|
Date |
User |
Action |
Args |
2016-10-20 14:57:01 | r.david.murray | set | recipients:
+ r.david.murray, martin.panter, GeorgeY |
2016-10-20 14:57:01 | r.david.murray | set | messageid: <1476975421.62.0.732467529453.issue28447@psf.upfronthosting.co.za> |
2016-10-20 14:57:01 | r.david.murray | link | issue28447 messages |
2016-10-20 14:57:01 | r.david.murray | create | |
|