Railgun

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

User Tools

Site Tools


sockchat:start

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:start [2025/04/13 18:15] – Code formatting fixes. flashsockchat:start [2025/04/14 00:29] (current) – deprecat flash
Line 1: Line 1:
 ====== Sock Chat Protocol Information ====== ====== Sock Chat Protocol Information ======
 +
 +:!: This document is being replaced, go to [[:sockchat|Sock Chat Protocol Documentation]] for the new version of this document. :!:
  
 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. 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.
Line 64: Line 66:
 |  ''%%int%%''   |Indicates whether the user can create channel. If ''%%0%%'' the user cannot create channels, if ''%%1%%'' the user can create channels but they are to disappear when all users have left it and if ''%%2%%'' the user can create channels that permanently stay in the channel assortment.| |  ''%%int%%''   |Indicates whether the user can create channel. If ''%%0%%'' the user cannot create channels, if ''%%1%%'' the user can create channels but they are to disappear when all users have left it and if ''%%2%%'' the user can create channels that permanently stay in the channel assortment.|
  
-===== Client Packets =====+===== Client to Server (C2S) Packets =====
  
 These are the packets sent from the client to the server. These are the packets sent from the client to the server.
Line 108: Line 110:
 |  ''%%string%%''  |Message text, cannot contain a tab character ''%%\t%%''.| |  ''%%string%%''  |Message text, cannot contain a tab character ''%%\t%%''.|
  
-===== Server Packets =====+===== Server to Client (S2C) Packets =====
  
 These are the packets sent from the server to the client. These are the packets sent from the server to the client.
sockchat/start.1744568144.txt.gz · Last modified: 2025/04/13 18:15 by flash