in reply to Re: IPC Design problem
in thread IPC Design problem
I know that I had the idea to chain messengers.
Say gate ones that would use sockets and interior one using named pipes or Unix sockets ( I could implement both and choose depending on the platform).
What I'm not so sure about is the design choice of letting anyone but a head of messengers demon open the necessary file handles :-$
Update
I'm going to give it a try that way : only the head of messengers do the file handle management, he shall use a named pipe for his orders (thus making itself easily cross platform) and shall receive his working parameters as a hash of the following type :
my %params = ( input=>{name=>'filename', type=>'unix_socket|network_socket|named_pipe', bind=>address,#if network socket}, output=>{output1=>'filename|socket_name', output2=>'idem', ... ... }, );
|
|---|