Sign in Join
FPDoc Onlineexperiment

TSimpleIPCClient.SendMessage procedure

Member of TSimpleIPCClientpublicIn unit SimpleIPC

Send a message to the server.

Declaration

pascal
procedure SendMessage(MsgType: TMessageType; Stream: TStream)

Arguments

MsgType

Message type.

Stream

Message data.

Description

SendMessage sends a message of type MsgType and data from stream to the server. The client must be connected for this call to work.

Errors

In case an error occurs, or there is no connection to the server, an EIPCError exception is raised.

See also

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