wodTelnetDLX ActiveX Control - Disconnect Method
      
 

Description

Disconnects from remote server.


Return Type

None  


Syntax

object.Disconnect [WaitLogoff]



The Disconnect Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetDLX.
WaitLogoff Optional. A Variant value. When set to True, wodTelnetDLX will send 'QUIT' command before it disconnects from the server.

Remarks

Disconnect method will close socket between wodTelnetDLX and remote server, thus breaking the connection. If WaitLogoff value isn't specified, or is set to False, server will not be informed about disconnection (connection is closed brutally). If WaitLogoff is set, wodTelnetDLX will first send information about connection closure to server.

After calling Disconnect, you can set new parameters and issue Connect method again.