Hi,
that sounds good to me. I just committed it in git.
Gerhard
Von: Olivier Hanesse [mailto:[email protected]]
Gesendet: Montag, 9. Mai 2011 17:52
An: [email protected]
Betreff: [Shinken-devel] Livestatus : socket SO_REUSEADDR option
Hi,
While I was fighting with netcat,I found that there is no "SO_REUSEADDR"
flag on the socket used by livestatus.
So each time a "shinken restart" is done, we have to wait that the system
free the socket to get the new module up and running.
Adding 'server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)' before
'server.bind' solves that.
Regards
Olivier
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel