sockchat:c2s:ping
You were redirected here from sockchat:c2s:packet-0.
Table of Contents
C2S 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 |
Examples
An outgoing ping packet for a user with ID 214.
0\t214
See Also
- S2C Packet 0: Pong - Packet that acknowledges the keepalive.
sockchat/c2s/ping.txt · Last modified: 2025/04/20 01:26 by flash