Appendix A. Protocol Reference

Table of Contents
Messages sent in both directions
Server to client messages
Client to server messages

We now list a complete reference of messages which get passed to and from the GGZ server. This listing conforms to protocol version 11.

Three types of data are exchanged between the client and the server:

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.

Messages sent in both directions

Table of Contents
SESSION -- Session start
PING -- Lag measurement challenge
PONG -- Lag measurement response