GGZ Gaming Zone Design Specification | |||
---|---|---|---|
<<< Previous Page | Home | Next Page >>> |
We now list a complete reference of messages which get passed to and from the GGZ server. This listing conforms to protocol version 7.
Three types of data are exchanged between the client and the server:
char: a 1-byte signed char
int: a 4-byte signed integer in network byte order
string: a multibyte null-terminated string preceded by its length (including null-termination) as an integer.
Interactions take one of three forms: server messages, client requests, and server responses. Each interaction is prefaced by an opcode identifying it (some interactions consist solely of the opcode). The opcode (stored as an enumerated value) is sent as an int.