|
noexcept |
Gets a value that indicates whether to linger after the xtd::net::sockets::socket is closed.
enable | seconds | Behavior |
---|---|---|
false (disabled), the default value | The time-out is not applicable, (default). | Attempts to send pending data for a connection-oriented socket (TCP, for example) until the default IP protocol time-out expires. |
true (enabled) | A nonzero time-out | Attempts to send pending data until the specified time-out expires, and if the attempt fails, then Winsock resets the connection. |
true (enabled) | A zero timeout. | Discards any pending data. For connection-oriented socket (TCP, for example), Winsock resets the connection. |