void xtd::net::sockets::socket::set_socket_option | ( | xtd::net::sockets::socket_option_level | socket_option_level, |
xtd::net::sockets::socket_option_name | socket_option_name, | ||
bool | option_value | ||
) |
Sets the specified xtd::net::sockets::socket option to the specified integer value.
socket_option_level | One of the xtd::net::sockets::socket_option_level values. |
socket_option_name | One of the xtd::net::sockets::socket_option_name values. |
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. |