int32 xtd::net::sockets::socket::get_socket_option | ( | xtd::net::sockets::socket_option_level | socket_option_level, |
xtd::net::sockets::socket_option_name | socket_option_name | ||
) | const |
Returns the value of a specified xtd::net::sockets::socket option, represented as integer.
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. |
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. |