[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Big-endian/little-endian (WAS: Re: can I burn the output of mpg123 -s?)



Quoting Stephen J. Carpenter (sjc@delphi.com):
> On Tue, Aug 18, 1998 at 10:34:39AM -0400, Michael Stone wrote:
> > The solution is to always run hton before putting stuff on the wire and
> > running ntoh when pulling stuff back.  That way you can be sure that the
> > stuff on the wire is always network byte order without having to put in
> > nasty test cases.
> 
> thats all well and good BUT...
> xfstt is a ont server for X11....So it has to work within the existing 
> protocols...it would be a "bad thing" if you had to modify the Xserver to
> use a new font server.

Are you saying that the xserver looks for host (e.g., random) byte order
rather than network byte order on the network?!? (I never had reason to
look, but I just might, now...)

Mike Stone


Reply to: