Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!oakhill!ephrem From: ephrem@oakhill.UUCP (Ephrem Chemaly) Newsgroups: comp.windows.x Subject: Inter client communication. Keywords: XClientMessageEvent Message-ID: <3010@soleil.oakhill.UUCP> Date: 23 Feb 90 16:18:27 GMT Organization: Motorola Inc. Austin, Tx Lines: 24 I am starting a new project where an X client is reading a port and collecting data from another machine. I would like the data collected by this 'collector client' to be sent to other X clients to be analyzed, displayed, saved, etc. I am using the XSendEvent(..., XClientMessageEvent) to send the data to all clients that registered their interest with the 'collector client'. This allows me to send 20 bytes of data at a time. It seems to me that I am replicating a small portion of X since when a client has an interest in the data it has to register itself, the kind of messages it is interested in receiving from the collector, it also has to unregister itself when it no longer needs the data (usually before it dies). Is there a better way to send data between clients or am I on the right track. Thanks in advance. Ephrem A. Chemaly oakhill!soleil!ephrem@cs.utexas.edu (512)891-2760 MOTOROLA Inc. 6501 W. William Cannon Dr. MS OE28 Austin, TX 78735 U.S.A.