WaitForConnect

Top  Previous  Next

This method waits until the telnet connection is successfully opened, or the timeout period expires.

 

Visual Basic Syntax

 

[Boolean =] Session.WaitForConnect([TimeOut] As Integer)

 

Delphi Syntax

 

[WordBool :=] Session.WaitForConnect([TimeOut]: Integer);        

 

 

Remarks

 

The Timeout parameter is optional. This method returns True if the wait was successful and False if the Timeout period has expired. The TimeOut parameter is measured in milliseconds.                

If you pass a timeout value in the Timeout parameter of this method, the value of the property WaitTimeout will not have any effect.