I am trying to find a way to do 1-to-many communication between processes in Linux. I found that linux has named pipes
, but those won't work with multiple readers (I found on other SO answers that once a reader reads some data, others don't get it); could someones clarify this - I see mixed answers on SO - whether its possible or not.
Also, from my understanding, with sockets
, multiple clients can connect to a server, but in my case, I need a process to send out data to multiple processes (kind-of reverse) - like a broadcast.
Could anyone suggest what options are available ?
Edit : Can shared memory be used some how ?