void xtd::net::sockets::socket::set_socket_option | ( | xtd::net::sockets::linger_option | option_value | ) |
Sets the linger xtd::net::sockets::socket option to the specified integer value.
option_value | A value of the option. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the socket. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |