[Pythonmac-SIG] SO_REUSEADDR not work
Jack Jansen
Jack.Jansen at cwi.nl
Sun Feb 15 16:07:13 EST 2004
On 13 Feb 2004, at 17:37, Samuel M. Smith wrote:
> According to my understanding of the socket library a port can be made
> reusable or used by another socket
> with the socket option SO_REUSEADDR however I can't seem to get it to
> work.
I always forget what SO_REUSEADDR means exactly, but it is something
obscure, I think it only has to do with reusing an (address, port)
combination that is still in some sort of waiting state (after a
connnection having aborted, for instance).
I think what you want is SO_REUSEPORT.
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list