Skip to content

TIPCClientComm.Disconnect

Disconnect from the server.

Declaration

Source position: simpleipc.pp line 257

public 
procedure TIPCClientComm.Disconnect;  virtual;  abstract;

Description

Disconnect closes the communication channel with the server. Any calls to SendMessage are invalid after Disconnect was called.

Disconnect is called by the TSimpleIPCClient.Disconnect call or when the Active property is set to False.

Messages can no longer be sent after Disconnect was called.

Errors

If the connection shutdown fails, or the connection was already shut down, then an exception may be raised.

See also

Name Description
TSimpleIPCClient.Disconnect Disconnect from the server.
Active Communication channel active.
Connect Connect to the server.