in reply to Re: IO::Socket persisting on Linux despite being closed
in thread IO::Socket persisting on Linux despite being closed (updated)
SO_REUSEPORT (since Linux 3.9)Probably shouldn't be relevant here.
Permits multiple AF_INET or AF_INET6 sockets to be bound to an identical socket address.
For TCP sockets, this option allows accept(2) load distribution in a multi-threaded server to be improved by using a distinct listener socket for each thread. This provides improved load distribution as compared to traditional techniques such using a single accept(2)ing thread that distributes connections, or having multiple threads that compete to accept(2) from the same socket.
|
|---|