[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
Start the server-side of the communication channel
Source position: simpleipc.pp line 95
public procedure TIPCServerComm.StartServer; virtual; abstract; |
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 TSimpleIPC.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 TSimpleIPCServer.ThreadTimeOut). The arrival of new messages can be acted upon with TSimpleIPCServer.OnMessageQueued.
In case of an error, an EIPCError exception is raised.
|
Simple IPC server component |
|
|
Communication channel active |
|
|
Event called when a new message has arrived |
|
|
Timeout waiting for message |