Miscellaneous Features

You can set up a trace mode for MvTCP using ILS_TCP_TRACE environment variable or the function SetTrace.

You can also specify a value for the sending and receiving buffers used at the socket level. By default, MvTCP does not change the system default settings. See the functions SetDefaultRecvBuffer and SetDefaultSendBuffer for more information.

You can also set a default timeout for synchronous calls using the function SetTcpTimeout. The default value 0 specifies an infinite timeout.

Finally, you can disable Nagle’s algorithm using the function SetTcpNoDelay with its argument set to IlsFalse. By default, Nagle’s algorithm is enabled.

You can put the tcpd daemon in batch mode so that it generates a log file instead of writing to the standard output. To specify a log file:

tcpd -batch <logfile>

If you do not specify any log file, a file named ilstcpd.log will be generated in the $TMPDIR directory (or in the %TEMP% directory on Windows platforms). When the tcpd daemon is launched as a Windows service, batch mode is automatically enabled and the file ilstcpd.log is generated in the temporary directory.