Commit 10653783 authored by deuce's avatar deuce
Browse files

Add REUSEPORT option for BSD systems.

parent 58d5da3a
......@@ -69,6 +69,9 @@ static socket_option_t socket_options[] = {
#endif
{ "REUSEADDR", 0, SOL_SOCKET, SO_REUSEADDR },
#ifdef SO_REUSEPORT /* BSD */
{ "REUSEPORT", 0, SOL_SOCKET, SO_REUSEPORT },
#endif
{ "KEEPALIVE", SOCK_STREAM, SOL_SOCKET, SO_KEEPALIVE },
{ "DONTROUTE", 0, SOL_SOCKET, SO_DONTROUTE },
{ "BROADCAST", SOCK_DGRAM, SOL_SOCKET, SO_BROADCAST },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment