Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)
From: mirtoni (mirton_at_gmail.com)
Date: 11/27/05
- Next message: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Previous message: Casper H.S. ***: "Re: effective user id"
- In reply to: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Next in thread: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Reply: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Nov 2005 07:59:14 -0800
Thanx for the reply, but I'm sorry cause I have no idea what you wrote
above. Is this some kind of pseudo-code. I really appreciate the help,
but I'm not good at low-level programming languages.
While I was waiting for a reply I tried something like this:
Two pipes to which the server process reads and writes to.
And on the other end The Client and Process 3 will read and write to.
This is because the information going through the pipes from one
process will be the same for the other two processes.
So when the server writes, he will have to write it twice with a little
usleep(300) in between. And if one of the other processes writes, then
the server will have to re-route the data to the other process!!!
I still haven't got it going completely, but I hope you can offer me a
better solution with identical information in pipes besides the one I
wrote above..
Thanx.
- Next message: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Previous message: Casper H.S. ***: "Re: effective user id"
- In reply to: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Next in thread: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Reply: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]