in reply to Fastest way to talk to a perl daemon
Unix pipe is the most primitive and often the best method of ipc. I just posted, at Many-to-One pipe, a demo taking advantage of file descriptor duplication in fork to allow many children to talk to one over a pipe.
Update: suaveant, you won't be able to use that for processes which are not forked from a common parent. I was picturing a server daemon forking a helper process, possibly with another pipe back to the parent, and then creating little connection servers which all feed the helper.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fastest way to talk to a perl daemon
by suaveant (Parson) on Aug 07, 2002 at 14:31 UTC |