socket.SO_REUSEADDR
Michael Ströder
michael.stroeder at inka.de
Thu Apr 20 15:20:42 EDT 2000
fredrik at pythonware.com wrote:
>
> Michael Ströder wrote:
> > For avoiding problems with errors like
> >
> > socket.error: (98, 'Address already in use.')
>
> that getproto stuff looks strange. try this instead:
>
> self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
Three times the same answer. Must be right. ;-)
Thanks to all.
Ciao, Michael.
More information about the Python-list
mailing list