[Overview][Resource strings][Constants][Types][Classes][Variables][Index] Reference for unit 'simpleipc' (#fcl)

TIPCClientComm.Disconnect

Disconnect from the server

Declaration

Source position: simpleipc.pp line 124

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

TSimpleIPCClient.Disconnect

  

Disconnect from the server

Active

  

Communication channel active

Connect

  

Connect to the server

The latest version of this document can be found at lazarus-ccr.sourceforge.net.