Back to product page

Timeout property


Period before inactive channels are disconnected.

Type

An Integer value

Syntax

  • Basic
object.Timeout[=value]
The Timeout(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodTunnel.
valueAn Integer value.

Remarks

The Timeout property specifies how many seconds must pass without any activity between wodSSHTunnel and the SSH server before wodSSHTunnel will disconnect from the server. This provides a measure of protection against 'ghost' connections being made between the client and the server. If you don't want auto-disconnection to occur, set the Timeout property to 0.

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

To prevent unwanted timeouts from occurring (perhaps due to an intermediate gateway killing your connection), wodSSHTunnel will send an IGNORE packet after half of your timeout setting has expired. If there is no reply, then the connection will timeout after the predefined number of seconds.

Platforms

Windows