[Overview][Resource strings][Constants][Types][Classes][Variables][Index] Reference for unit 'simpleipc' (#fcl)

TIPCServerComm.StopServer

Stop the server side of the communication channel.

Declaration

Source position: simpleipc.pp line 96

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

TSimpleIPCServer

  

Simple IPC server component

TSimpleIPC.Active

  

Communication channel active


Documentation generated on: Sep 28 2017