Send a message to the server.
Source position: simpleipc.pp line 274
public procedure TSimpleIPCClient.SendMessage( |
MsgType: TMessageType; |
Stream: TStream |
); |
MsgType |
|
Message type. |
Stream |
|
Message data. |
SendMessage sends a message of type MsgType and data from stream to the server. The client must be connected for this call to work.
In case an error occurs, or there is no connection to the server, an EIPCError exception is raised.
|
Connect to the server. |
|
|
Send a string message to the server. |