Skip to content

TSimpleIPCClient.SendMessage

Send a message to the server.

Declaration

Source position: simpleipc.pp line 278

public 
procedure TSimpleIPCClient.SendMessage(MsgType: TMessageType; 
                                      Stream: TStream);

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

Name Description
Connect Connect to the server.
SendStringMessage Send a string message to the server.