BNLS_REQUESTVERSIONBYTE

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:BNLS Messages (BNLS)
Message Id:0x10
Message Name:BNLS_REQUESTVERSIONBYTE
Direction:Server to Client
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) Product

If Product is nonzero:
(UINT32) Version byte 

Remarks

On failure, Product is 0. On success, this is equal to the requested Product.

If Product is 0, the Version byte UINT32 is not included in the message.

See the BNLS Product Codes document for a list of valid product codes.

| Edited: Anonymous

Comments

Davnit

Idea: return the requested product code in the version byte field if the returned product value is 0 (failure). This way failed requests can be matched to their requested products.