in reply to Re: Re: Problem with SO_REUSEPORT in IO::Socket::INET
in thread Problem with SO_REUSEPORT in IO::Socket::INET
He does not use IO::Socket, you are correct; however, he does show you how to implement a pre-forking server.... For IP only one socket may be bound to a specific local address/port pair. For TCP a bound local socket endpoint (address/port pair) is unavailable for some time after closing the socket, unless the SO_REUSEADDR flag is set. Note that carelessly setting SO_REUSEADDR might make TCP more unreliable unless PAWS is used (see tcp(4)); the delay is needed to handle old pack- ets still in the network. ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Problem with SO_REUSEPORT in IO::Socket::INET
by Aighearach (Initiate) on Apr 14, 2002 at 04:15 UTC |