> ntohl and htonl do _not_ do the same thing! They are inverse functions. x = 
> (htonl(ntohl(x)). This is not a cosmetic change.

>From a practical standpoint it is also true that:

  x = htonl(htonl(x))

on many platforms.  Hence the comment that they tend
to do the same thing.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: [EMAIL PROTECTED]  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------

Reply via email to