C>S 0x25 SID_PING

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Battle.net v1 TCP Messages (SID)
Message Id:0x25
Message Name:SID_PING
Direction:Client to Server
Used By:Starcraft Original, Starcraft Broodwar
Starcraft Shareware, Starcraft Japanese
Diablo Retail, Diablo Shareware
Diablo II, Diablo II Lord of Destruction
Warcraft II BNE, Warcraft III Reign of Chaos
Warcraft III The Frozen Throne
Message Format:
(does not include protocol header)
(UINT32) Ping Value

Remarks

Ping response. Ping Value is the UINT32 received in the server's initial ping message.

The ping displayed when in chat can be artificially inflated by delaying before sending this packet, or deflated by responding before requested.
Ping can be set to -1 (Strictly speaking, 0xFFFFFFFF, since ping is unsigned) by not responding to this packet at all.

The UINT32 received from the server is not what determines your ping, but it is actually a cookie for the Battle.net server. You should never change the UINT32.

Anonymous

Comments

no one has commented yet.