Next: Message types
Up: Detailed design
Previous: Logging
  Contents
Each message in the protocol is a string composed of the
following parts:
- Total message size (including the size) - 4 bytes
field (unsigned long). This is important in order to enable
the receiver of the message to know when the current message
ends.
- Message type - 4 bytes field (unsigned long). The
complete list of protocol messages is described below. Since
every type of message has a structure of its own, the
receiver needs to know which message they received.
- Message body - according to the message type.
Subsections
Zvika Brakerski
2001-05-09