Xu Yifeng 0ad635c5d4 Add a new bind() and bind6() interface and make REUSEPORT as an option.
SO_REUSEADDR is to reuse a socket in time-wait state, this is often turned on
by server applicationis, but if a port is being used, the server could fail,
this is expected. But with SO_REUSEPORT option, it even can open a port which
is being used, this is a more error prone than SO_REUSEADDR, because we
normally don't want to share a port with irrelevant application without
notice, the behavior should not be default.
2016-11-09 17:05:50 +08:00
..
2012-04-23 01:14:34 +00:00
2012-04-23 01:14:34 +00:00
2014-11-11 12:19:14 +01:00
2012-04-29 18:52:25 +00:00
2012-11-11 09:57:01 +01:00
2012-04-23 01:14:34 +00:00
2014-11-11 12:19:14 +01:00
2012-04-23 01:14:34 +00:00
2012-04-29 18:52:25 +00:00
2012-04-23 01:14:34 +00:00