Add Method
      
 

Description

Adds new UDP relay.

Return Type

A VPNRelay object.  

Syntax

object.Add (Port)

The Add Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNRelays.
PortRequired. A Long value.

Remarks

Add method will add and start new Relay on specified Port. If Port isn't set (or set to 0), then new value is assigned to the relay, which you can read afterwards by accessing the Port property.

After relay is added, peers can connect to specified port and start exchanging their data.