Update page 'Protocol'

2019-03-19 17:49:05 +00:00
parent 9a10d0a007
commit fb8e89b359

@@ -94,7 +94,7 @@ _stream.Write(data, 0, data.Length); // Send the packet
## Request and Reply ## Request and Reply
When a request is sent, the receiver must always respond with the same command name, When a request is sent, the receiver must reply with the same command name,
only the arguments change. only the arguments change.
This allow the sender to know if the receiver responded correctly to its request. This allow the sender to know if the receiver responded correctly to its request.
@@ -114,7 +114,7 @@ ID;pong
> Response > Response
Here, a client send a 'ping' request to a server and the server respond with a 'pong', using the same command. Here, a client send a 'ping' request to a server and the server reply with a 'pong', using the same command.
## Commands ## Commands