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

Jochen Keil jochen.keil at gmail.com
Wed Jan 29 12:58:04 PST 2014


Hello,

On 29.01.2014 00:17, Alan Coopersmith 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


Thank you very much, this already helped me a lot to understand how the
various (xcb) send functions work. I now also have an idea what's
actually in the iovec and what the two extra fields in each request are
good for. Indeed, very helpful!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140129/4e838f36/attachment.pgp>


More information about the Xcb mailing list