socket.SO_REUSEADDR

Michael Ströder michael.stroeder at inka.de
Thu Apr 20 21:22:29 CEST 2000


Ng Pheng Siong wrote:
> 
> According to Michael Ströder  <michael.stroeder at inka.de>:
> >     self.socket.setsockopt(
> >       socket.getprotobyname('tcp'),
> >       socket.SO_REUSEADDR,1
> >     )
> 
> Michael,
> 
>     self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

And with M2Crypto? (AttributeError: setsockopt)

Ciao, Michael.



More information about the Python-list mailing list