diff --git a/Protocol.md b/Protocol.md index 64afe52..597fab0 100644 --- a/Protocol.md +++ b/Protocol.md @@ -1,10 +1,10 @@ # Sock Chat Protocol Information -The protocol operates on a websocket in text mode. Messages sent between the client and server are a series of concatenated strings delimited by the vertical tab character, represented in most languages by the escape sequence `\t` and defined in ASCII as `0x09`. -The first string in this concatenation must be the packet identifier, sent as an `int`. +The Sock Chat protocol operates on a websocket in text mode. +Messages sent between the client and server are a series of concatenated strings delimited by the vertical tab character, represented in most languages by the escape sequence `\t` and defined in ASCII as `0x09`. +The first string in this concatenation must be the packet identifier. -Newer versions of the protocol are implemented as extensions, a client for Version 1 should have no trouble using a server built for Version 2 as long as authentication is understood. - -The current stable version of the protocol is **Version 1**. +Updated behaviour is defined through capabilities. +Further documentation on their behaviour will be added at a later date. ## Types @@ -717,7 +717,7 @@ Informs the client that they have either been banned or kicked from the server. timestamp - Ban expiration time + Ban expiration time, not present when the first argument is 0.