wodSSH ActiveX Control - Timeout Property
      
 

Description

Timeout value, in seconds.


Property type

An Integer value.  Number of idle seconds before disconnection.


Syntax

object.Timeout [= value]



The Timeout Property syntax has these parts:

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

Remarks

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

Timeout will not cause component to disconnect from the server if it's in the middle of blocking call (such as Receive method). In such cases it will just cause method to unblock and report an error, but you will still be able to reuse connection and continue in the same session.

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