[Xcb] Socket handoff: I know how to take the socket, but how do I give it back?
Josh Triplett
josh at joshtriplett.org
Thu Aug 18 07:46:20 PDT 2011
On Thu, Aug 18, 2011 at 07:30:03AM -0400, Peter Harris 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.
We could pretty easily add a function to make XCB demand the socket back
without actually sending anything over the wire, if that seems useful.
- Josh Triplett
More information about the Xcb
mailing list