diff --git a/ctrl/sockopts.cfg b/ctrl/sockopts.cfg deleted file mode 100644 index 4493decd81d1a4f63d63fc9443bf861a26d00576..0000000000000000000000000000000000000000 --- a/ctrl/sockopts.cfg +++ /dev/null @@ -1,25 +0,0 @@ -; Socket option configuration file -; option-name <white-space> value - -; supported options: -; TYPE -; DEBUG -; LINGER -; SNDBUF -; RCVBUF -; SNDLOWAT -; RCVLOWAT -; SNDTIMEO -; RCVTIMEO -; REUSEADDR -; KEEPALIVE -; DONTROUTE -; BROADCAST -; OOBINLINE -; TCP_NODELAY - -; LINGER 1 5 -KEEPALIVE 1 -SNDBUF 4096 -RCVBUF 4096 -TCP_NODELAY 1 diff --git a/ctrl/sockopts.ini b/ctrl/sockopts.ini new file mode 100644 index 0000000000000000000000000000000000000000..ecf06b0ad1cd08f1efdc0bbb3a47f32e99ac6d39 --- /dev/null +++ b/ctrl/sockopts.ini @@ -0,0 +1,32 @@ +; $Id$ + +; Socket option configuration file + +; Syntax: option = value + +; Supported options: +; TYPE +; DEBUG +; LINGER +; SNDBUF +; RCVBUF +; SNDLOWAT +; RCVLOWAT +; SNDTIMEO +; RCVTIMEO +; REUSEADDR +; KEEPALIVE +; DONTROUTE +; BROADCAST +; OOBINLINE +; TCP_NODELAY + +; On some Unix platforms, additional TCP_* options are supported + +; LINGER = 5 +KEEPALIVE = 1 +SNDBUF = 8192 +RCVBUF = 8192 + +[bbs] +TCP_NODELAY = 1