Socket Options

The ctrl/sockopts.ini .ini file allows global control over the socket options that are applied when Synchronet creates network sockets.

Options

Most of the options should not be changed by the sysop without a detailed understanding of the effects. That said, here's the list of supported options (many are OS/Network stack dependent):

Option
TYPE
ERROR
DEBUG
LINGER
SNDBUF
RCVBUF
SNDLOWAT
RCVLOWAT
SNDTIMEO
RCVTIMEO
USELOOPBACK
REUSEADDR
REUSEPORT
EXCLUSIVEADDRUSE
KEEPALIVE
DONTROUTE
BROADCAST
OOBINLINE
ACCEPTCONN
PRIORITY
NO_CHECK
PROTOTYPE
MAX_MSG_SIZE
CONNECT_TIME
TCP_NODELAY
TCP_MAXSEG
TCP_CORK
TCP_KEEPIDLE
TCP_KEEPINTVL
TCP_KEEPCNT
TCP_KEEPALIVE
TCP_SYNCNT
TCP_LINGER2
TCP_DEFER_ACCEPT
TCP_WINDOW_CLAMP
TCP_QUICKACK
TCP_NOPUSH
TCP_NOOPT
IPV6_V6ONLY

See Also