SO_LINGER setting
The solinger parameter sets the delay, in seconds, that the Gateway waits while data is being transmitted before closing a socket, after a call has been received to close the socket.
solinger=<number>
- Description
- Set the value in the range 0 - 65,536 to specify the delay period
in seconds. If a value greater than zero is specified and data is
being transmitted when a call to close the socket is received, the
Gateway waits until the data is transmitted or until the time specified
before closing the socket. If a value is not specified or is set to
zero, the socket is closed immediately, terminating the data transmission.
However, the data transmission can be successful because TCP/IP repeats
the send request for a specified period of time.
This parameter is in the TCP protocol parameters subsection of the GATEWAY section of the configuration file.
- Default value
- If this parameter is not specified, the default value is 0.