ipc - linux - 1-to-many communication between processes -
I am trying to find a way to communicate one-to-many communications between processes in Linux. I found linux named pipe
, but many readers of those people (I do not work with other answers so that once a reader finds some data, others do not get it) Will; Someone can make it clear - I see mixed answers on SO - whether it is possible or not
In addition, my understanding, socket
, a server for many customers I can connect to, but in my case, I would like to send data for a process (many processes need-
edit : how to use shared memory How can
Named Pipe W Like a pipe in the stove, I have an input and an output, so you can not use the same (name) pipes to send information to more than one other process
< P> But there is nothing against the idea of using a pipe for each other's process and filling all pipes, it will work while using designated pipes, (anonymous) pipes and sockets. But in all cases This means that all this keeps track of the receiver and separately sends information to each of them.You just want to keep the unlisted about the list of the receiver, the way I am thinking now I can use a plain file, your sender can write it, and the receiver can read it all.
Comments
Post a Comment