home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3743 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.6 KB

  1. Path: sparky!uunet!eiffel!eiffel.com
  2. From: ram@eiffel.com (Raphael Manfredi)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Organizing rendez-vous between processes
  5. Keywords: networking, sockets, ipc
  6. Message-ID: <125@eiffel.eiffel.com>
  7. Date: 30 Aug 92 20:05:53 GMT
  8. Sender: ram@eiffel.com
  9. Organization: Interactive Software Engineering, Santa Barbara CA
  10. Lines: 25
  11.  
  12. Hello wizards,
  13.  
  14. I'd like to organize a rendez-vous between two processes located on
  15. different machines connected on an IP network. I am aware that setting
  16. up an entry in /etc/services would solve this rendez-vous, but that
  17. is precisely what I cannot do.
  18.  
  19. How does X solve this problem? Any X client may specify a remote display,
  20. and that client has to find the remote X socket without having anything
  21. registered at a well known port. I understand that for local connections,
  22. a named socket in the AF_UNIX domain can be a rendez-vous point, but with
  23. the AF_INET domain, you have to specify a port.
  24.  
  25. Of course, what is relevant here is the way X organizes the communication
  26. at the IP level, not the interface at the Xlib level. I am not trying to
  27. build an X application but rather mimic the way X handles network requests
  28. and connections. And I take X as an example because it seems to be the
  29. way for me to go, but other approaches are welcome.
  30.  
  31. I'll post a summary of answers if appropriate.  Thank you in advance.
  32. -- 
  33. Raphael Manfredi <ram@eiffel.com>
  34. Interactive Software Engineering Inc.
  35. 270 Storke Road, Suite #7                      / Tel +1 (805) 685-1006 \
  36. Goleta, California 93117, USA                  \ Fax +1 (805) 685-6869 /
  37.