Enum TCPListenOptions
Flags to control the behavior of listenTCP.
enum TCPListenOptions
: int { ... }
Enum members
Name | Description |
---|---|
defaults
|
|
disableAutoClose
|
Disables automatic closing of the connection when the connection callback exits |
distribute
|
Deprecatedcauses incoming connections to be distributed across the thread pool |
ipTransparent
|
Enable IP transparent socket option Does nothing on other OS than Linux |
none
|
Don't enable any particular option |
reuseAddress
|
Enable address reuse |
reusePort
|
Enable port reuse on linux kernel version >=3.9, do nothing on other OS Does not affect libasync driver because it is always enabled by libasync. |