|Transport Layer:||User Datagram Protocol (UDP)|
|Application Layer:||Battle.net v1 UDP Messages (PKT)|
|Direction:||Peer to Peer|
|Used By:||Starcraft Original, Starcraft Broodwar|
Starcraft Shareware, Starcraft Japanese
Diablo Retail, Diablo Shareware
Warcraft II BNE
(does not include protocol header)
This message is used to determine the latency to a game on Battle.net.
If code is zero, then the message is a ping request from another client (and this client should respond with a PKT_CLIENTREQ using a non-zero code). Otherwise, the message is a ping response.
In previous versions of UDP enabled clients they would use GetTickCount() as the return value (the recieving end would then do math on that value to get the latency).
Clients now use 0x01 for the value and do all the math locally, this resolves time zone issues and other stuffs.
no one has commented yet.