Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!SEI.CMU.EDU!John.Kochmar From: John.Kochmar@SEI.CMU.EDU Newsgroups: comp.windows.x Subject: Could someone explain what the serial field of an XAnyEvent structure is? Message-ID: <8903282219.AA10302@b.sei.cmu.edu> Date: 28 Mar 89 22:19:34 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 28 I'm trying to understand what the serial field from an XAnyEvent structure is supposed to represent, and I am getting quite lost. The O'Reilly books say it "identifies the last protocol request processed by the server", and the Gettys/Newman/Scheifler book says it "is set from the serial number reported in the protocol but expanded from the 16-bit least-significant bits to a full 32-bit value". It goes on to say how this is the last known request to have been processed by the server. What I am confused about is: 1) There are holes in the numbering. Does this mean that I am not selecting for all possible events, or that some events are being sent to other clients, or am I just way out in left field? 2) There are more serial fields with the same number than I would have expected. The documentation led me to believe that each time the server processed an event, it would increment the serial field, but it doesn't appear to work this way. Any help would be appreciated. I went into the code to look for the answer, but I just got even more confused than when I started. If it helps, I am on an ULTRIX 3.0 system, and I have tried playing with this under both DECwindows and the MIT R3 distribution. Thanks John Kochmar kochmar@sei.cmu.edu