Skip to content
Snippets Groups Projects
Commit 10653783 authored by deuce's avatar deuce
Browse files

Add REUSEPORT option for BSD systems.

parent 58d5da3a
Branches
Tags
No related merge requests found
......@@ -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 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment