Developers.Hash.Guid.SpecialRequirements: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Importing page from Tikiwiki)
 
m (1 revision)
 
(No difference)

Latest revision as of 20:09, 20 June 2009

Special GUID requirements

A GUID is not just 16 random bytes.

[1] This is how Windows makes GUIDs

[2] This document on MSDN talks about special parts of the GUID that are always the same, or have special meaning.

[3] Message ID A 16-byte string (GUID) uniquely identifying the message on the network. Servents SHOULD store all 1's (0xff) in byte 8 of the GUID. (Bytes are numbered 0-15, inclusive.) This serves to tag the GUID as being from a modern servent. Servents SHOULD initially store all 0's in byte 15 of the GUID. This is reserved for future use.