PROTOCOL
author viric <viriketo@gmail.com>
Thu, 01 Sep 2011 20:01:13 +0200
changeset 299 73880166685f
parent 165 7b914d4003c2
permissions -rw-r--r--
Making the manual page mention 0.7.0, and explain -B.

[ Totally outdated document ]

New job
-------------------------
Client: Msg [ new job (commandsize,filenamesize)]
Client: Command (+null)
Server: Msg [ NewJob OK ]
--- pause until the server allows running ---
Server: Msg [ RunJOB ]
Client: Msg [ RunJOB OK ]
Client: (if needed) Filename (+null)
--- pause until the client process finishes ---
Client: Msg [ EndJOB ]
Client: close.

List
-------------------------
Client: Msg [ LIST ]
Server: Msg [ List_line ]
Server: line (+null)
Server: Msg [ List_line ]
Server: line (+null)
...
Server: close.