Developers.Hash.Guid.SpecialRequirements

From Shareaza Wiki
Jump to navigation Jump to search

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.