MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Occurs when the client receives a custom message from server.
type TMsgOnClientReceiveBinaryMessage = procedure (const FromUserID: Cardinal; Buffer: PChar; Size: Integer) of object;
property OnReceiveBinaryMessage: TMsgOnClientReceiveBinaryMessage;
OnReceiveBinaryMessage occurs when the client receives a custom binary message.
UserID is an identifier of the sender.
You can send message to client using SendMessage method.