Thread View: comp.windows.misc
2 messages
2 total messages
Started by Alexis MERMET-GRANDFILLES
Tue, 09 Apr 1991 16:11
ICCCM & Properties
Author: Alexis MERMET-GRANDFILLES
Date: Tue, 09 Apr 1991 16:11
Date: Tue, 09 Apr 1991 16:11
47 lines
1909 bytes
1909 bytes
Hello, 1/ I am looking for the latest Inter Client Communication Conventions document. I have got the O'reily books which say that it should appear in the Appendix L of the volume 0 : X protocol Reference Manual. Unfortunately, my volume 0 book ends at appendix K. too bad... Does anybody know where to find this text or this document ? 2/ I am trying to find out what is the best way to transfer quite a big amount of Data ( Several KBytes ) between 2 X clients. In fact, I am thinking of a X11 client which acts as a server for many other clients. On the request of those clients, this 'server' would send somehow some kind of data, from a few bytes to several KBytes to the requesting client. I was thinking of writing the complete buffer into a pre-defined root window property, and then , sending a ClientMessage to the waiting client to tell him the data is ready and where it is. Does this sound feasable ? Any performance concerns ? Any better ideas ? What is the limitted amount of data that a X11-server may store in a single property ? Thank very much for any help ! -------------------------------------------------------------------------- Alexis MERMET-GRANDFILLES HEWLETT-PACKARD Tel: 76 62 12 11 Grenoble Network Division Fax: 76 62 52 00 5 avenue Raymond Chanas - EYBENS alex@hpgndxo.hp.com 38053 GRENOBLE CEDEX 9 -------------------------------------------------------------------------
Re: ICCCM & Properties
Author: A.B. van Woerkom
Date: Wed, 24 Apr 1991 07:53
Date: Wed, 24 Apr 1991 07:53
34 lines
1883 bytes
1883 bytes
alex@hpgnd.grenoble.hp.com (Alexis MERMET-GRANDFILLES) writes: >2/ >I am trying to find out what is the best way to transfer quite a big >amount of Data ( Several KBytes ) between 2 X clients. >In fact, I am thinking of a X11 client which acts as a server for many >other clients. On the request of those clients, this 'server' >would send somehow some kind of data, from a few bytes to several KBytes >to the requesting client. >I was thinking of writing the complete buffer into a pre-defined root >window property, and then , sending a ClientMessage to the waiting client >to tell him the data is ready and where it is. >Does this sound feasable ? Sounds like reinventing the wheel. The Xt-intrinsics offer a set of functions that implement the so-called selection mechanism. Using this mechanism it is quite easy to transfer large amounts of data from one client to the other; when the amount meets a limit the intrinsics will handle the chopping in chunks for you. So, have a look at XtOwnSelection and friends. -- A.B. van Woerkom, adri@dutncp6.tudelft.nl Delft University of Technology, Faculty of Applied Physics, Physics Informatics Group, section Computational Physics, Lorentzweg 1, 2628 CJ DELFT, The Netherlands ________________________________________________________________________ "Unfortunately, the current generation of mail programs do not have checkers to see if the sender knows what he is talking about" (A.S. Tanenbaum)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads