Skip to content

TIPCClientComm.Connect

Connect to the server.

Declaration

Source position: simpleipc.pp line 256

public 
procedure TIPCClientComm.Connect;  virtual;  abstract;

Description

Connect must establish a communication channel with the server. The server endpoint must be constructed from the ServerID and ServerInstance properties of the owning TSimpleIPCClient instance.

Connect is called by the TSimpleIPCClient.Connect call or when the Active property is set to True

Messages can be sent only after Connect was called successfully.

Errors

If the connection setup fails, or the connection was already set up, then an exception may be raised.

See also

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