The protocol between the client and the server is text based. The server (the debugger) sends information to the client (the graphical debugger interface) and it gets commands from the client.
The information the server sends contains lines. Each line has the format
identifier: value
The identifier identifies the information contained on the line and the value is the information to be sent. The identifier is closed by a colon and a space. The line is terminated by carriage-return and new-line characters.
The client has to send commands to the server. The command is always a single character optionally followed by a space and arguments. The commands and the syntax are the same as those implemented in the sample command line interpreter. The end of the command line sent to the server has to be terminated by carriage-return and new-line characters.
This architecture also allows a normal telnet client to be used to debug the communication with the server, although the information printed by the server is not easily readable by humans.