🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37258

Inter client communication.

#37258
From: Ephrem Chemaly
Date: Fri, 23 Feb 1990 16:18
24 lines
1340 bytes
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.
Technical Details
Message-ID: <3010@soleil.oakhill.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!oakhill!ephrem

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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