[oclug] Unbind a socket
David F. Skoll
dfs at roaringpenguin.com
Mon Feb 26 22:50:39 EST 2001
On Mon, 26 Feb 2001, Paul Faure wrote:
> Thanks for the info, the SO_REUSEADDR option must be set before the
> bind is done not after... Since it warns about reliability, I don't think
> I will use this option in production, just for production and testing...
SO_REUSADDR is quite safe and practically all TCP servers (apache, sendmail,
etc.) use it. If you do *not* use it on a production server, you'll have
problems if the server dies and you need to restart it.
--
David.
More information about the OCLUG
mailing list