From: Chris Flatters (cflatter@nrao.edu)
Date: 06/22/92


From: cflatter@nrao.edu (Chris Flatters)
Subject: Re: Inter-Process Communication?
Date: 22 Jun 1992 20:32:20 GMT

In article 19343@news.ysu.edu, ae007@yfn.ysu.edu (Daniel Newcombe) writes:
>
>I am looking to write a C++ program that will run as sort of
>a server or background program. I then want to be able to
>run a user-friendly(is that allowed in Unix? :) interface
>that will be able to "talk" to the other program. Can this be
>done?

Yes. The best way to do this would be to set up a UNIX domain socket for
the client to connect to. If you haven't written socket-based programs before
then you should do some reading first (there are some subtle aspects to writing
servers under UNIX). I would recommend getting a copy of "UNIX Network Programming"
by W. Richard Stevens (Prentice Hall, 1990, ISBN 0-13-949876-1): don't let its size
put you off.

        Chris Flatters
        cflatter@nrao.edu