0x01 C01PacketPing
Sends a client-side timestamp for the server to echo back. The client calculates round-trip latency from the difference.
Fields
| Field | Type | Description |
|---|---|---|
| clientTime | long (8 bytes) | Current system time in milliseconds (System.currentTimeMillis()) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Client Time | long | System.currentTimeMillis() at send time |
MCP References
MCP
NetHandlerStatusServer.processPing()Handler Interface
HND
INetHandlerStatusServerNotes
Sent after receiving S00PacketServerInfo. The server echoes the exact same long value in S01PacketPong. The client computes latency as receiveTime - sentTime.
implementation Implementation Cases
ServerScanner
Manipulate or delay ping response to fake latency.
PingSpoof
Manipulate or delay ping response to fake latency.