Add SO_REUSEPORT support

This commit is contained in:
Federico Ceratto 2015-12-15 23:50:28 +00:00
commit e174aa1dbc
4 changed files with 10 additions and 3 deletions

View file

@ -38,7 +38,7 @@ export
SOL_SOCKET,
SOMAXCONN,
SO_ACCEPTCONN, SO_BROADCAST, SO_DEBUG, SO_DONTROUTE,
SO_KEEPALIVE, SO_OOBINLINE, SO_REUSEADDR,
SO_KEEPALIVE, SO_OOBINLINE, SO_REUSEADDR, SO_REUSEPORT,
MSG_PEEK
when defined(macosx) and not defined(nimdoc):