The WebSocket Protocol (2011)
sockchat
This is an old revision of the document!
Sock Chat Protocol Documentation
Sock Chat is a chatting protocol that operates on a text-mode WebSocket 1).
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
.
This wiki documents all behaviour that can be expected from a Sock Chat client and server.
Updated behaviour will be added through extensions called capabilities at a later date. Not providing any capabilities will have the protocol continue operating as it is described here.
- Types - Describes of data types that occur in packets.
- Client to Server (C2S) Packets - Describes all packets that a client can send to a server.
- Server to Client (S2C) Packets - Describes all packets that a server may send to a client.
- Commands - Describes all client commands a server is expected to understand.
- Notices - Describes all formatting strings for informational and error messages.
- Old Documentation - Previous version of the documentation, will remain available until all information has been moved over.
sockchat.1744590426.txt.gz · Last modified: 2025/04/14 00:27 by flash