void xtd::net::sockets::udp_client::allow_nat_traversal | ( | bool | allowed | ) |
Enables or disables Network Address Translation (NAT) traversal on a xtd::net::sockets::udp_client instance.
allowed | A boolean value that specifies whether to enable or disable NAT traversal. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the underlying socket. |