System::Net::Sockets::TcpListener::AllowNatTraversal method

TcpListener::AllowNatTraversal method

Enables or disables the NAT traversal.

void System::Net::Sockets::TcpListener::AllowNatTraversal(bool allowed)
ParameterTypeDescription
allowedboolA value that indicates if the NAT traversal must be enabled or disabled.

See Also