Railgun

if it ain't broke, we'll break it

User Tools

Site Tools


sockchat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sockchat [2025/04/14 00:25] – new index flashsockchat [2025/04/14 14:19] (current) – [Attribution] by flash
Line 1: Line 1:
 ====== Sock Chat Protocol Documentation ====== ====== Sock Chat Protocol Documentation ======
  
-Sock Chat is a chatting protocol that operates on a text-mode [[doi>10.17487/RFC6455]] [[https://developer.mozilla.org/en-US/docs/Web/API/WebSocket|WebSocket]].+Sock Chat is a chatting protocol that operates on a text-mode [[https://developer.mozilla.org/en-US/docs/Web/API/WebSocket|WebSocket]] (([[doi>10.17487/RFC6455]])).
 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%%''. 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. 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. 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.+Not providing any capabilities will have the protocol continue behaving as defined by the original PHP implementation.
  
-===== Pages =====+===== Sections =====
  
-  * [[sockchat:types|Types]] - Describes of data types that occur in packets.+  * [[sockchat:types|Types]] - Describes all data types that occur in packets.
   * [[sockchat:c2s|Client to Server (C2S) Packets]] - Describes all packets that a client can send to a server.   * [[sockchat:c2s|Client to Server (C2S) Packets]] - Describes all packets that a client can send to a server.
   * [[sockchat:s2c|Server to Client (S2C) Packets]] - Describes all packets that a server may send to a client.   * [[sockchat:s2c|Server to Client (S2C) Packets]] - Describes all packets that a server may send to a client.
 +  * [[sockchat:capabilities|Capabilities]] - Describes all capabilities and what changes in behaviour they cause.
   * [[sockchat:commands|Commands]] - Describes all client commands a server is expected to understand.   * [[sockchat:commands|Commands]] - Describes all client commands a server is expected to understand.
   * [[sockchat:notices|Notices]] - Describes all formatting strings for informational and error messages.   * [[sockchat:notices|Notices]] - Describes all formatting strings for informational and error messages.
 +  * [[sockchat:bbcodes|BB Codes]] - Describes common BB Code formats.
   * [[sockchat:start|Old Documentation]] - Previous version of the documentation, will remain available until all information has been moved over.   * [[sockchat:start|Old Documentation]] - Previous version of the documentation, will remain available until all information has been moved over.
  
 +===== Attribution =====
 +
 +  * Sock Chat was created by [[http://dev.aroltd.com|reemo]].
 +  * Current version of the protocol is maintained by [[https://flash.moe|flashwave]].
 +  * [[https://patchii.net/flashii/mami|Mami]] and [[https://patchii.net/flashii/sharp-chat|SharpChat]] for [[https://flashii.net|Flashii]] Chat are currently considered the reference client and server implementations for new developments.
 +  * What is described as "Core" in this documentation is equivalent to the behaviour of the [[https://patchii.net/sockchat/sockchat|original PHP client and server source]].
sockchat.1744590356.txt.gz · Last modified: 2025/04/14 00:25 by flash