home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / programm / 8038 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!tct!jim
  3. From: jim@tct.com (Jim Kunzman)
  4. Subject: Re: How to communicate between two programs
  5. Message-ID: <2B660936.3191@tct.com>
  6. Date: Wed, 27 Jan 1993 04:01:58 GMT
  7. References: <23JAN199314552052@sigma.tamu.edu>
  8. Organization: TC Telemanagement, Clearwater, FL
  9. Lines: 22
  10.  
  11. According to css0860@sigma.tamu.edu (Skelter):
  12. >How would you allow two programs to actively communicate with
  13. >each other like you were going to write a program that was a game
  14. >server and another that was a client.
  15. >
  16. >-s
  17. >
  18.  
  19. You have several choices with OS/2, but I would probably use named
  20. pipes.  For an excellent book on implementing same, see _Client/Server
  21. Programming with OS/2 2.0_ by Robert Orfali and Dan Harkey, VNR Computer
  22. Library Press.  I wrote a client/server app under OS/2 1.1 a few years
  23. ago which used named pipes and it was fairly painless (even without the
  24. above book).  You could also used shared memory and semaphores or message
  25. queues, but named pipes are really easy and you can even use them across
  26. a Netware or LAN Manager network.  Now that portable Netware is available
  27. for some UNIXen, you can even run named pipes to UNIX servers, e.g. AIX!
  28. Good luck with your C/S application.
  29. -- 
  30. Jim Kunzman at Teltronics/TCT     <jim@tct.uucp>, <uunet!pdn!tct!jim>
  31. -----
  32. Microsoft Windows NT - The Emperor's New Clothes
  33.