C>S 0x05 SID_CLIENTID
Transport Layer: | Transmission Control Protocol (TCP) |
---|---|
Application Layer: | Battle.net v1 TCP Messages (SID) |
Message Id: | 0x05 |
Message Name: | SID_CLIENTID |
Direction: | Client to Server |
Used By: | Starcraft Shareware, Starcraft Japanese |
Message Format: (does not include protocol header) |
|
Remarks
This packet was used to ensure that the client's account number was valid. All but the last two fields in this message are now ignored, and may be set to zero.
The 'LAN Computer Name' field is the NetBIOS name of the computer. It can be retrieved using the GetComputerName API.
The 'Lan Username' field is the name of the currently logged on user, and may be retrieved using the GetUsername API.
The following information is historical:
The client would supply this data as issued by a Battle.net server. If the Registration Version, Registration Authority, and Client Token values equated to the account number supplied (Client ID), as determined by an unknown formula, the server would respond with the same values. If they were invalid, the server would assign new values. Registration Version was always 1, Authority was the IP address of the server that issued the account number. Thus, the Client Token was the secret value, used to prove that the client really owned the account in question.
Comments
no one has commented yet.