[Xcb] [PATCH] Use recv(2) instead of read(2).

Jeremy Huddleston jeremyhu at freedesktop.org
Sat Apr 24 13:49:24 PDT 2010

We've been having other issues with xcb on osx which should now be cleared up.  I'll give this set a whirl on Monday.


On Apr 22, 2010, at 19:01, Jamey Sharp wrote:

> This change eases porting XCB to Windows.
> The X protocol is only usable over sockets anyway, and for sockets,
> read(fd, buf, len) is equivalent to recv(fd, buf, len, 0).
> Signed-off-by: Jamey Sharp <jamey at minilop.net>
> CC: Alan Coopersmith <alan.coopersmith at oracle.com>
> CC: Jeremy Huddleston <jeremyhu at freedesktop.org>

More information about the Xcb mailing list