Timeout Property
      
 

Description

Determines, in seconds, total number of seconds before connection drops.

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 wodVPN.
valueA Long value. Total number of seconds before disconnecting.

Remarks

Timeout property defines total number of seconds that remote peer is idle before connection is dropped for inactivity. wodVPN sends "keep alive" UDP packet each second, but expects from remote side to do the same. If no packet is received for defined Timeout value, local wodVPN peer will close the connection and fire Disconnected event.