Sign in Join
FPDoc Onlineexperiment

TIPCClientComm.Disconnect procedure

Member of TIPCClientCommpublicIn unit SimpleIPC

Disconnect from the server.

Declaration

pascal
procedure 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 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.