|
From: | Vincent Caron |
Subject: | Re: htonl() htons() |
Date: | Tue, 22 Oct 2002 14:00:03 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2a) Gecko/20020910 |
Hans Aberg wrote:
At 19:56 -0400 2002/10/21, John Millaway wrote:From your description I surmise one can replace them with the identity, andthe code will work. Does anybody know what should they be on Motorola RISC CPU's?
The PowerPC can run in little-endian or big-endian mode, but big-endian is preferred for performance reasons. That is, PPC actually run in network byte order, use identity.
[Prev in Thread] | Current Thread | [Next in Thread] |