|
noexcept |
Gets the amount of time to remain connected after calling the xtd::net::sockets::socket::close method if data remains to be sent.
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. |