MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Occurs when a new command arrives.
type TMsgOnReceiveCommand = procedure (const FromID, Command: Cardinal; var Buffer; Size: Integer) of object;
property OnReceiveCommand: TMsgOnReceiveCommand;
Description
OnReceiveCommand occurs when the server received a custom command.
FromID is an unique identifier of the sender.
Command is an identifier of your command.
Buffer is an additional binary data you can send with your command.
Size is a length of the Buffer in bytes.
|