TransmitMessage method

Send a message to the server, prefixed and postfixed by the current HeaderBlock and TrailerBlock characters.

Applies to

TCHMllpClient

Declaration

procedure TransmitMessage(Message : String);

Description

The data is not guaranteed to be received after this function is called. All data is buffered internally; completion of this call does not signify reception of data.

Function requires a running message loop (see RunMessageLoop).

Blocking: Function does not block.
Events: If an error occurs during the send operation an OnErrorReceived event results, containing the error message indicating why the send attempt has failed.

Parameters
Message Message to send to the server.


Chameleon Delphi Documentation