Disconnect Method |
Top Previous Next |
The Disconnect method terminates the connection to the Telnet server.
Visual Basic Syntax
[Boolean] = TNBXSync.Disconnect([TimeOut] As Integer)
Delphi Syntax
[Boolean] := TNBXSync.Disconnect([TimeOut]: integer);
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 disconnection 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 WaitForDisconnect and Wait methods. |