Sign in Join
FPDoc Onlineexperiment

TSimpleIPCClient.Connect procedure

Member of TSimpleIPCClientpublicIn unit SimpleIPC

Connect to the server.

Declaration

pascal
procedure Connect

Description

Connect connects to the server indicated in the ServerID and InstanceID properties. Connect is called automatically if the Active property is set to True.

After a successful call to Connect, messages can be sent to the server using SendMessage or SendStringMessage.

Calling Connect if the connection is already open has no effect.

Errors

If creating the connection fails, an EIPCError exception may be raised.

See also

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