Timeout Property
      
 

Description

Timeout value, in seconds.


Property type

An Integer value.  


Syntax

object.Timeout [= value]



The Timeout Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodXMPP.
value An Integer value.

Remarks

Timeout value specifies how many seconds must pass without any activity between wodXMPP and remote server before wodXMPP will autodisconnect from it. Autodisconnect is a measure of protection so there are no 'ghost' connections made between you and remote server. If you don't want autodisconnection to occur, set Timeout property to 0.

Timeout can be changed during a lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you're on slow network connection.