in reply to RE: forking server
in thread forking server

pipe is a good solution for unidirectional communication.

socketpair works for bi-directional communication. i'm using it in a forking server right now, and it works like a charm.

Replies are listed 'Best First'.
RE: RE: RE: forking server
by AgentM (Curate) on Oct 13, 2000 at 05:07 UTC
    agreed, but all socketpair does is create two pipes and link them to the file descriptors so it's the same. Note that this is solution in all legacy UNIX software.
    AgentM Systems or Nasca Enterprises is not responsible for the comments made by AgentM- anywhere.