75046.606@CompuServe.COM (Larry W. Virden) (09/15/89)
Hi! This is the first of a series of msgs that have come up while preparing an overview of X. P.S. if you know of online availability of info for such a presentation, please contact me! How many transactions are there within the X protocol? Since there is only a one byte field, isnt this going to be restraining in the future as the number of transactions grow? Are there xlib routines which do not generate a unique transaction? What future expansion is expected to occur within Xlib? What are the typical sizes of transactions Note that what I am referring to as transactions are the individual 'x protocol packets' sent. Thanks!
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/18/89)
Can you say, "Read the Manual"? How many transactions are there within the X protocol? The core requests are enumerated in the X protocol specification. Obtain a version from any of a variety of sources, and count them yourself. Or look at <X11/Xproto.h>. Since there is only a one byte field, isnt this going to be restraining in the future as the number of transactions grow? No. Read the protocol specification. Extensions use the byte for their major opcode, but can have any number of requests, specified in another field. Are there xlib routines which do not generate a unique transaction? If you mean are there Xlib routine which produce more than one request, yes. See Appendix A of the Xlib manual. What future expansion is expected to occur within Xlib? No comment. What are the typical sizes of transactions Typical sizes are application dependent. You can read the protocol specification to find sizes for each request.