On Mon, 2006-03-13 at 16:45 -0500, Lee Revell wrote: > On Mon, 2006-03-13 at 22:21 +0100, torbenh@xxxxxx wrote: > > On Sun, Mar 12, 2006 at 03:50:26PM -0500, Lee Revell wrote: > > > On Sun, 2006-03-12 at 14:06 +0100, torbenh@xxxxxx wrote: > > > > netjack-0.9rc1 is here... > > > > endianess issues fixed. tests are underway... > > > > but if it works for 2 x86 (double swap) it should work for PPC <-> > > > > x86 > > > > > > Why do you use big-endian on the wire, requiring a double swap for x86 > > > <-> x86? Wouldn't LE make more sense, especially as PPC Macs become > > > unavailable? > > > > well i am not in a position to redefine ntohl and htonl. > > sorry. > > > > Sorry, my question was stupid - obviously I've been away from networking > for a while ;-) its not a stupid question. and it really isn't hard to write functions which could be called htobe and betoh, for example.