Merge pull request #3648 from FedericoCeratto/reuse_port
Add SO_REUSEPORT support
This commit is contained in:
commit
380524caa8
4 changed files with 10 additions and 3 deletions
|
|
@ -1575,6 +1575,8 @@ var
|
|||
## Receive timeout.
|
||||
SO_REUSEADDR* {.importc, header: "<sys/socket.h>".}: cint
|
||||
## Reuse of local addresses is supported.
|
||||
SO_REUSEPORT* {.importc, header: "<sys/socket.h>".}: cint
|
||||
## Multiple binding: load balancing on incoming TCP connections or UDP packets. (Requires Linux kernel > 3.9)
|
||||
SO_SNDBUF* {.importc, header: "<sys/socket.h>".}: cint
|
||||
## Send buffer size.
|
||||
SO_SNDLOWAT* {.importc, header: "<sys/socket.h>".}: cint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue