The status field in the CS_CLIENTMSG and CS_SERVERMSG structures indicates whether the structure contains a whole message or a chunk of a message.
The following status values are related to sequenced messages:
Symbolic value |
Meaning |
---|---|
CS_FIRST_CHUNK |
The message text is the first chunk of the message. |
CS_LAST_CHUNK |
The message text is the last chunk of the message. |
If CS_FIRST_CHUNK and CS_LAST_CHUNK are both on, then the message text in the structure is the entire message.
If neither CS_FIRST_CHUNK nor CS_LAST_CHUNK is on, then the message text in the structure is a middle chunk.
The msgstringlen field in the CS_CLIENTMSG structure and the textlen field in the CS_SERVERMSG structure reflect the length of the current message chunk.
All other fields in the CS_CLIENTMSG and CS_SERVERMSG are repeated with each message chunk.