RTS_SOCKET_SO_VALUE_LINGER (STRUCT)ΒΆ
TYPE RTS_SOCKET_SO_VALUE_LINGER : STRUCT
Parameters for the socket option SOCKET_SO_LINGER.
- InOut:
Name
Type
Comment
l_onoff
WORD
Specifies whether a socket should remain open for a specified amount of time after a closesocket function call to enable queued data to be sent.
0 = Socket will not remain open.
1 = Socket will remain open for the linger time.
l_linger
WORD
The linger time in seconds. This member specifies how long to remain open after a closesocket function call to enable queued data to be sent.