Disconnect Method |
Top Previous Next |
The Disconnect method ends the connection with the Telnet server.
Visual Basic Syntax
TNBnnnnX.Disconnect
Delphi Syntax
TNBnnnnX.Disconnect;
Remarks
After the client disconnects, the OnDisconnect event is fired. If the client is not connected to any server, the disconnect method has no effect.
See also Connect method and OnDisconnect event. |