Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 14:10:43 +0000
From:      j mckitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   setsockopt() question
Message-ID:  <20001205141043.A50410@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

Hi alll,

if I want to reuse a socket, when should I call setsockopt() with
SO_REUSEADDR?  Before or after bind()?  Before or after listen()?

thanks,
Jonathon
-- 
"The spice must flow...."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001205141043.A50410>