AllowNatTraversal()

TcpListener::AllowNatTraversal(bool) method

Enables or disables the NAT traversal.

void System::Net::Sockets::TcpListener::AllowNatTraversal(bool allowed)

Arguments

ParameterTypeDescription
allowedboolA value that indicates if the NAT traversal must be enabled or disabled.

See Also