[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
Start the server
Source position: simpleipc.pp line 167
public procedure TSimpleIPCServer.StartServer( |
Threaded: Boolean = False |
); |
Threaded |
|
Start the server in threaded mode. |
StartServer starts the server side of the communication channel. It is called automatically when the Active property is set to True. It creates the internal communication object (a TIPCServerComm descendent) and activates the communication channel.
After this method was called, clients can connect and send messages.
Prior to calling this method, the ServerID property must be set.
If an error occurs a EIPCError exception may be raised.
|
Internal message communication component |
|
|
Communication channel active |
|
|
Unique server identification |
|
|
Stop the server |