Network.TestConnectionNAT 测试连接NAT穿透

static function TestConnectionNAT () : ConnectionTesterStatus

Description描述

Test the connecction specifically for NAT punchthrough connectivity.

用于测试特定连接的NAT穿透连接性。

This is like Network.TestConnection except that a NAT punchthrough test is forced, even through the machine does not have a NAT address (private IP address) but a public address.

这个就像Network.TestConnection,只不过NAT穿透测试是强制的,即使该机器没有一个NAT地址(私有IP地址),单有一个公有地址。

参见:Network.TestConnection 实例代码

Page last updated: 2011-4-4