Re: DIME on various platform.

Henrik Frystyk Nielsen <[email protected]> Mon, 16 Sep 2002 07:39:54 -0700
Newsgroups gmane.comp.windows.devel.dime
Message-ID <79107D208BA38C45A4E45F62673A434D08E9246B@red-msg-07.redmond.corp.microsoft.com>
As Dror mentioned, big-endian is the commonly used network order so
using ntohl, htonl, and friends should give you what you want.

Henrik=20

>But i still wonder I(or somebody who will write DIME parser)=20
>have to program differently according to each platform.
>
>Why not Internet network standard byte order using ntohl or=20
>htonl? Do they think it costs much to use that?