[PATCH 2/5] Use correct swap{l,s} (or none at all for CARD8)

walter harms wharms at bfs.de
Sun Aug 7 08:30:50 PDT 2011



Am 05.08.2011 18:04, schrieb Mikhail Gusarov:
> 
> Twas brillig at 16:54:57 05.08.2011 UTC+02 when wharms at bfs.de did gyre and gimble:
> 
>  wh> But is this a common problem in network programming ?
> 
> In X11 client decides the byte order, and server has to deal with what
> comes over the wire. Most of the protocols have fixed endianess, so they
> might use htonl and friends.
> 

ok, then it makes sense to me.

re,
 wh


More information about the xorg-devel mailing list