From 1373211465c34015ee900e097aa87fbffb401187 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 29 Jan 2017 19:54:26 +0100 Subject: Trying out ACSL, continuing implementation. --- doc/protocol.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/protocol.txt') diff --git a/doc/protocol.txt b/doc/protocol.txt index f6fc8e0..a940e69 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -10,15 +10,16 @@ Open the POSIX named message queue in write_only mode. Send a message to this queue with the following format: { 'C', + unsigned int requested_protocol_version; char req_pipe_name[255], char reply_pipe_name[255] } Read from the reply pipe name, with a timeout. When the server has handled your connection request, you will receive "ZoO_protocol_version X\n", -with X a positive integer indicating the version of the protocol. If you do -not support this protocol, proceed to destroying all the pipes, otherwise you -are now able to send requests. +with X a positive integer indicating the version of the protocol that will be +used. If you do not support this protocol, proceed to destroying all the pipes, +otherwise you are now able to send requests. Disconnecting is done by destroying the pipes. This goes both way: if you did not initiate the destroying, assume that the server went offline. -- cgit v1.2.3-70-g09d2