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

Antoine Latter aslatter at gmail.com
Thu Aug 18 04:46:39 PDT 2011


On Thu, Aug 18, 2011 at 6:30 AM, Peter Harris <git at peter.is-a-geek.org> wrote:
> 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.
>

That should do what I need. Thanks.

> Peter Harris
>


More information about the Xcb mailing list