When you tell your client to send an instant message to a friend, your client does so by sending a TX_MSG message.
The format for a TX_MSG message is:
TX_MSG
tag
address
message
where
| tag | is a unique label for this message; |
| address | is the address of the user for which the instant message is intended; |
| message | is an envelop whose data field contans the actual message you are sending. |
The message may contain sequencing information. For more information, see Exchanging Messages and Message Envelops.
Sending this message will cause the other client to receive an RX_MSG message.