Timeout Property
      
 

Description

Timeout before peer is disconnected for inactivity.

Property type

A Long value.  

Syntax

object.Timeout [= value]

The Timeout Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNRelay.
valueA Long value.

Remarks

Timeout property (in seconds) specifies how many seconds must pass without any packets received from the peer before RelayDisconnected event is fired. After this value expires and event fires, new peer can connect to your relay. It should be wise somehow to disconnect other peer too since he may stay in undefined state when new peer arrives.

If set to 0, peers are never auto-disconnected.