[issue8184] multiprocessing.managers will not fail if listening ocket already in use

Antoine Pitrou report at bugs.python.org
Tue Jan 3 18:04:29 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

There's a length MSDN article about this:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740621%28v=vs.85%29.aspx

Executive summary: it's a can of worms.

However, let me point out the following sentence:
“Ports without SO_EXCLUSIVEADDRUSE set may be reused as soon as the socket on which bind was previously called is closed.”

...which seems to suggest we shouldn't use SO_REUSEADDR under Windows, since Windows sockets appear to have the Unix SO_REUSEADDR semantics by default.

----------
resolution: fixed -> 
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8184>
_______________________________________


More information about the Python-bugs-list mailing list