| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-01-29 19:54:26 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-01-29 19:54:26 +0100 |
| commit | 1373211465c34015ee900e097aa87fbffb401187 (patch) | |
| tree | 8ffa1f9296097c91627c05874fcf4559cac45de7 /doc/protocol.txt | |
| parent | df3657b2a99ef20da99ac3c6c02f43cc23e70fca (diff) | |
Trying out ACSL, continuing implementation.
Diffstat (limited to 'doc/protocol.txt')
| -rw-r--r-- | doc/protocol.txt | 7 |
1 files changed, 4 insertions, 3 deletions
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. |


