Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Battle.net v1 TCP Messages (SID)
Message Id:0x15
Message Name:SID_CHECKAD
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) Platform ID
(UINT32) Product ID
(UINT32) ID of last displayed banner
(UINT32) Current time


Requests ad banner information from Battle.net.

Official clients such as Starcraft Broodwar send this packet every 15 seconds. You do not have to send this at all.

In addition, Battle.net will not reply unless any of the fields above are updated from the last time you checked. If you have never checked before, Battle.net will always reply back.

| Edited: Anonymous



Official clients send the Unix timestamp (seconds from epoch) for the current time. The value is probably not too important though as some bots just send an unrelated value like the ad ID+1.