home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!darwin.sura.net!dtix!mimsy!lhc!moguls!berman
- From: berman@nlm.nih.gov (Lew Berman)
- Newsgroups: comp.unix.questions
- Subject: image and message passing using sockets
- Message-ID: <1992Jul27.145739.4335@nlm.nih.gov>
- Date: 27 Jul 92 14:57:39 GMT
- Sender: usenet@nlm.nih.gov (usenet news poster)
- Reply-To: berman@nlm.nih.gov
- Organization: National Library of Medicine
- Lines: 21
-
-
- I have an application that will using sockets to pass images to remote
- locations. Typically (we think) the user will make a request by clicking
- on a GUI and then sending out the appropriate request in a packet that will be 1k.
- This packet passing will be done transparent to the user. We've set up some
- message passing format for this packet that is fairly rigid - each byte except for the
- final 512 bytes has a specific meaning. In reality, we might be better served
- by a message system that puts the packet size in the first four bytes and then has
- a free form message. Has anyone done this before? What are the pros and cons of
- our idea? Do you have a system that works better than this?
-
- One problem that concerns me is how will the client software (remote location)
- decipher between image data and packets that contain information from the server?
-
- If you don't mind please send you reply directly to me.
-
- Thanks for all your help,
-
- Lew Berman
- National Library of Medicine
- berman@ceb.nlm.nih.gov
-