Skip to content

TIPCServerComm.StopServer

Stop the server side of the communication channel.

Declaration

Source position: simpleipc.pp line 108

public 
procedure TIPCServerComm.StopServer;  virtual;  abstract;

Description

StopServer closes down the server-side of the communication channel. After StartServer was called, a client can no longer connect to the communication channel, or even send messages to the server if it was previously connected (i.e. it will be disconnected).

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

Errors

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

See also

Name Description
TSimpleIPCServer Simple IPC server component.
TSimpleIPC.Active Communication channel active.