Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Network.TestConnectionNAT

static function TestConnectionNAT(forceTest: bool = false): ConnectionTesterStatus;
static ConnectionTesterStatus TestConnectionNAT(bool forceTest = false);
static def TestConnectionNAT(forceTest as bool = false) as ConnectionTesterStatus

Description

Test the connecction specifically for NAT punchthrough connectivity.

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. See Network.TestConnection example code.