chiark / gitweb /
socket: Set SO_REUSEPORT before bind()
authorChristos Trochalakis <yatiohi@ideopolis.gr>
Wed, 1 Jul 2015 11:39:53 +0000 (14:39 +0300)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:05:54 +0000 (10:05 +0100)
bind() fails if it is called before setting SO_REUSEPORT and another
process is already binded to the same addess.

A new reuse_port option has been introduced to socket_address_listen()
to set the option as part of socket initialization.


No differences found