I have just discovered the POCO world and I'm a bit lost.
I plan to code an app which has to:
- be launched as a deamon
- launch several threads
- Two of those threads listens to a port through a socket (TCP).
- Another thread has to send multicast datagrams (UDP).
- The last two threads have to run processes (like grep or wget) and retrieve the processes output.
- The main thread should safely communicate with those threads and vice-versa
Between ServerApplication, SocketReactor and SocketNotification (cf. EchoServer.cpp example), NotificationQueue (cf. NotificationQueue.cpp example) and TaskManager (cf. SampleServer.cpp example), I don't know which design to choose according to my app functionalities.
May you give me some advice?