[Xcb] Questions about the X protocol and the XCB implementation

Bart Massey bart at cs.pdx.edu
Wed Jan 29 16:22:20 PST 2014


Any request that requires a reply should cause the request output
queue to be flushed. This is really important for latency hiding:
you'd like an application to have the best chance that its reply has
already been received by the time it asks for it by forcing the
cookie, to avoid blocking. --Bart

On Tue, Jan 28, 2014 at 3:17 PM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> On 01/28/14 03:04 PM, Jochen Keil wrote:
>>
>> Hello,
>>
>> currently I'm trying to understand the X protocol and the XCB
>> implementation better. My first question about the X protocol would be
>> if there is something like a picture or so which describes the
>> (byte-wise) layout of a request/event/etc. packet.
>> Maybe similar to what exists for the TCP/IP packets. Or is this
>> a misconception of mine?
>
>
> Not a picture exactly, but a bunch of charts:
>
> http://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#protocol_encoding
>
>
> --
>         -Alan Coopersmith-              alan.coopersmith at oracle.com
>          Oracle Solaris Engineering - http://blogs.oracle.com/alanc
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list