Re: Magic numbers

Henrik Frystyk Nielsen <[email protected]> Fri, 23 Aug 2002 11:00:00 -0700
Newsgroups gmane.comp.windows.devel.dime
Message-ID <79107D208BA38C45A4E45F62673A434D08A34C89@red-msg-07.redmond.corp.microsoft.com>
I think you will have enough information either directly or within the
context in which you are communicating to determine that something is
DIME. Said in another way, I would not have to rely on a magic number to
determine this due to the low degree of reliability one can associate
with such a number.

Henrik

>Version and magic number are different.
>
>IP headers start with a 4-bit version number (RFC791, still at=20
>0x4). The magic number "IP" is defined in the encapsulation=20
>(e.g., in RFC894 for Ethernet, still at 0x0800).
>
>So the answer to "Does DIME need version?" is Yes, and the=20
>question about magic numbers is "What will be the=20
>encapsulation layers for DIME, and does they have sufficient=20
>meta-data expressive power to say 'DIME'?"