Back to product page

Timeout property


Timeout value, in seconds.

Type

Integer

Syntax

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

Remarks

Timeout value specifies how many seconds must pass without any activity between wodTelnetDLX and remote server before wodTelnetDLX 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. When working in Blocking mode (COM version only!), Timeout determines total number of seconds that Receive (or any blocking method) will wait for data to be received. If data is not received, error will be generated but the connection will not be closed.

Platforms

Windows