Thread View: comp.windows.misc
1 messages
1 total messages
Started by Cliff Green
Fri, 12 Apr 1991 15:22
Re: ICCCM & Properties
Author: Cliff Green
Date: Fri, 12 Apr 1991 15:22
Date: Fri, 12 Apr 1991 15:22
38 lines
2592 bytes
2592 bytes
In article <2140001@hpgnd.grenoble.hp.com> alex@hpgnd.grenoble.hp.com (Alexis MERMET-GRANDFILLES) writes: >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. > I'm a little unclear on some of the details (the usual confusion between X client/servers and general client/servers as well as not knowing what kind of data needs to be passed and in what fashion) but I wanted to pass along my experiences in a project here at the lab. We're working on a system to display/edit Doppler radar images and algorithm overlay output using X window and Motif. The amount of data being passed around is huge - 3 or more radar images each greater than 500,000 bytes along with associated housekeeping and overlay data. I designed a server process (in the network server/client sense of the word) which takes requests from one or more clients (which are also X clients), reads/writes data to/from disk, and passes the response back to the client. I used standard TCP/IP socket programming and have not had any problems running on both Sun and VAX systems. Unless there are special considerations this is a good method to use - it is reasonably portable, fairly easy to program (there are many good books on the subject), and very flexible - we are able to access data from heterogeneous systems and/or spread the processing load between systems. There are details to be careful with, but many advantages, some of which we have yet to take advantage of (such as anticipatory I/O handling). E-mail me if you need details and/or source. Good Luck! ---- Cliff Green clgreen@nsslsun.gcn.uoknor.edu (405) 366-0470
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