IPC : Communication of C++-program with a group of bash scripts and C++-programs

On my Linux system, I have multiple C/C++-daemons(around 5 daemons) doing different-different tasks. At the same time, I have multiple bash scripts running in the system doing some system related tasks (around 7 scripts). I have one separate C/C++-Daemon running as central error handler which is dedicated for displaying error messages to user in proper GUI form. The error messages can come from any of the C/C++-daemon and scripts. For now, I only need uni-directional communication from all the C/C++-daemons and scripts to central error handling C/C++-daemon.

I am planning to implement this using named-pipes. Is there any better way of handling this communication scenario which is more robust and handle concurrency in a better way?


Source: c#

Leave a Reply