[Xcb] Socket handoff: I know how to take the socket, but how do I give it back?

Peter Harris git at peter.is-a-geek.org
Thu Aug 18 04:30:03 PDT 2011


On Wed, Aug 17, 2011 at 10:58 PM, Antoine Latter <aslatter at gmail.com> wrote:
> Hi XCB,
>
> I'm poking around at the handoff stuff in XCB, and I was wondering if
> there was a recommended way to give the socket back to libxcb after
> I've called xcb_take_socket.

Call xcb_no_operation().

It will waste a couple of bytes on the wire, but it will force XCB to
get the socket back for itself.

Peter Harris


More information about the Xcb mailing list