Sign in Join
FPDoc Onlineexperiment

TIPCServerComm.StartServer procedure

Member of TIPCServerCommpublicIn unit SimpleIPC

Start the server-side of the communication channel.

Declaration

pascal
procedure StartServer; virtual; abstract

Description

StartServer sets up the server-side of the communication channel. After StartServer was called, a client can connect to the communication channel, and send messages to the server.

It is called when the Active property of the TSimpleIPCServer instance is set to True.

If Threaded is True then a background thread is started which will check for new messages periodically (see also ThreadTimeOut). The arrival of new messages can be acted upon with OnMessageQueued.

Errors

In case of an error, an EIPCError exception is raised.

See also

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