Connect Method |
Top Previous Next |
The Connect method establishes a synchronous connection to the Telnet server.
Visual Basic Syntax
[Boolean] = TNBXSync.Connect([TimeOut])
Delphi Syntax
[Boolean] := TNBXSync.Connect([TimeOut]);
The TimeOut parameter is measured in milliseconds.
Remarks
The Timeout parameter is optional, assuming the WaitTimeout property value by default. This method returns True if the connection was successfully established and False if the Timeout period has expired. If you pass a timeout value in the Timeout parameter of this method, the value of the property WaitTimeout will not have any effect.
See also WaitForConnect and Wait methods. |