Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
Re: [Freeciv-Dev] Endianess of packet data
Home

Re: [Freeciv-Dev] Endianess of packet data

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Endianess of packet data
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Fri, 16 Jul 1999 13:03:04 +1000 (EST)

Andy Black wrote:

> According to a reference book I have, 68000-base computers are big endian,
> Intel (x86, Pentium, etc) procesors are little endian, PowerPC procesors
> can be switched betwene modes, but the Mac OS is always in big endian mode.

Which is why freeciv packets, to be machine independent, use a 
standard order ("network byte order") instead of the native 
endianness of the machine being used.

-- David

[Prev in Thread] Current Thread [Next in Thread]