Next: Engine Abstract Class
Up: Server Protocol
Previous: End-User Software
  Contents
- Server sends greeting, terminated with `:'
- Client sends a command (1 byte)
- 113 (q) - Quit
- 102 (f) - Nodelist Creation
- 115 (s) - Set Weight
- 103 (g) - Get Weight
- If the command is unsupported, the server replies with `;' and returns to waiting for the next command.
- If it is supported the server returns `:'
- if `q' then both client and server close the connection
- if `f' then
- Client sends a byte
- If it is 1 then server sends `:' and waits for next command
- Otherwise server writes the byte to the file
- Server sends `:' and waits for next byte
- if `s' then
- Client sends start node ID
- Server replies with `.'
- Client sends end node ID
- Server replies with `.'
- Client sends line ID
- Server replies with `.'
- Client sends weight
- Server replies with `:' and waits for next command.
- if `g' then
- Client sends start node ID
- Server replies with `.'
- Client sends end node ID
- Server replies with `.'
- Client sends line ID
- Server sends weight and waits for next command.
Next: Engine Abstract Class
Up: Server Protocol
Previous: End-User Software
  Contents
2000-10-20