Terminate the connection with a server.
Syntax
object.Disconnect
Parameters
None.
Return Value
A value of zero is returned if the connection was terminated
successfully. Otherwise, a non-zero error code is returned which
indicates the cause of the failure.
Remarks
This method terminates the network connection with the server.
See Also
IsConnected Property,
Connect Method,
OnDisconnect Event
|