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