diff options
author | Christos Trochalakis <yatiohi@ideopolis.gr> | 2015-07-01 14:39:53 +0300 |
---|---|---|
committer | Christos Trochalakis <yatiohi@ideopolis.gr> | 2015-07-01 16:43:03 +0300 |
commit | 54255c64e6d223deb7d3863e426e78c443fda37c (patch) | |
tree | c4236e9de47603b9e90f4a3a0b25b272525a8755 /test/basic.target | |
parent | 52a321d839b366d40fdd72bbb6c494016fa3d608 (diff) |
socket: Set SO_REUSEPORT before bind()
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.
Diffstat (limited to 'test/basic.target')
0 files changed, 0 insertions, 0 deletions