Railgun

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

User Tools

Site Tools


sockchat:c2s:ping

This is an old revision of the document!


Packet 0: Ping

Ping packets provide the connection keep-alive for Sock Chat. The client must continuously send it at an implementation defined interval, usually somewhere between 30 and 60 seconds.

Format

Index Type Description
0 0 Ping packet ID
1 string Current user ID

Example

An outgoing ping packet for a user with ID 236.

0\t236

See Also

  • Pong - S2C Packet that acknowledges the keepalive.
sockchat/c2s/ping.1744577453.txt.gz · Last modified: 2025/04/13 20:50 by flash