Table of Contents
Server to Client (S2C) Packets
Core
Draft
See Also
Server to Client (S2C) Packets
This page lists all Sock Chat packets that are sent from the server to the client.
Core
S2C Packet 0: Pong
- Response to
ping
packets sent by the client.
S2C Packet 1: Authorization Status/User Add
- Authorization status or informs the client that another user has joined.
S2C Packet 1.y: Authorization Success
- Authorization has succeeded.
S2C Packet 1.n: Authorization Failure
- Authorization has failed.
S2C Packet 1.#: User Add
- Another user has been added.
S2C Packet 2: Message Add
- A message has been added to the message list.
S2C Packet 3: User Remove
- Another user has been removed.
S2C Packet 4: Channel List Event
- Changes to the global channel list.
S2C Packet 4.0: Channel Add
- A channel has been created.
S2C Packet 4.1: Channel Update
- A channel has been updated.
S2C Packet 4.2: Channel Remove
- A channel has been removed.
S2C Packet 5: Channel User Event
- Changes to the current channel user list.
S2C Packet 5.0: Channel User Add
- Another user has been added to the channel.
S2C Packet 5.1: Channel User Remove
- Another user has been removed from channel.
S2C Packet 5.2: Channel User Switch
- Client is about to be forcibly moved to another channel.
S2C Packet 6: Message Remove
- A message has been removed from the message list.
S2C Packet 7: Context Population
- Provides existing context about the server or current channel.
S2C Packet 7.0: Context User List
- Provides the user list for the current channel.
S2C Packet 7.1: Context Message Add
- Provides an existing message in the current channel.
S2C Packet 7.2: Context Channel List
- Provides the channel list of the server.
S2C Packet 8: Context Clear
- Clears part of the current context.
S2C Packet 9: Forced Disconnect
- Client has received a kick or a ban.
S2C Packet 10: User Update
- A user has been updated.
Draft
S2C Packet 11: Server Info
- Informs the client about the name, version and filtered capabilities of server in response to
client info
.
See Also
Client to Server (C2S) Packets
- List of packets sent from the client to the server.
Notices
- List of informational or error notices that can be received through
Message Add
or
Context Message Add
.