cannot restart innd

William F. Maton wmaton at ryouko.dgim.crc.ca
Sat Mar 23 19:34:53 UTC 2002


On Sat, 23 Mar 2002, Jeffrey M. Vinocur wrote:

> On Wed, 20 Mar 2002, Katsuhiro Kondou wrote:
>
> > To my understanding, it doesn't matter whether
> > setsockopt(SO_REUSEADDR) is called before or
> > after bind().  Or, are there such OS like that?
>
> No idea.  However, is it always safe to call it first?  If so, why don't
> we change it and see if things improve?
>
> (Also, I see that not all of the uses of SO_REUSEADDR are wrapped inside
> the #ifdef to see if we have that option.  Should they be?)

As far as I have seen, the sequence is socket() setsockopt() (if present)
and then bind().

wfms



More information about the inn-workers mailing list