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

Mikhail Gusarov dottedmag at dottedmag.net
Fri Aug 5 09:04:28 PDT 2011


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.

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110805/4bf528cc/attachment.pgp>


More information about the xorg-devel mailing list