This is a very small task. I need an implementation of Linux Interprocess Process Communication (IPC) that uses Unix Domain Socket for communication on local Centos Server.
The task is to write one Linux daemon witch will be server. Several daemons witch will be clients will send JSON strings to the server. The server must route the JSON strings to the appropriate module. For example daemon client A will send JSON string to the daemon server. The daemon server must route the JSON message and send it to the destination daemon client B. The Server must use threaded pool for handling clients requests.
If you want you can implement it using Shared Memory. All source code must be written in C.
See the attached file for source code.