zStatus zSocket_SetLingerTime(zSocket socket, z64u lingerTime);
|
Parameters |
Description |
|
zSocket socket |
zSocket object. |
|
z64u lingerTime |
Linger time, in microseconds (0 for immediate closuse). |
Specifies the duration that a TCP connection can remain open when the socket is closed in order to ensure that all outbound bytes are trasmitted to the receiver.
If the linger time is not set, then a default linger time will be selected by the underlying operating system.
zSocket.h