Port Property
      
 

Description

Returns port where relay listens.

Property type

A Long value.  

Syntax

object.Port

The Port Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNRelay.

Remarks

Port property specifies on which UDP port will relay listen for incoming packets. If you specified it in Relays.Add method, this property will contain same value. If you didn't specify port in Relays.Add method, then this property will return actual port assigned by winsock.