I use boost signals2 for some simple signal slot mechanism. I connect slot to a signal which is called whenever something comes in from a network. The call happens in a work