home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9451 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.4 KB

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