I am using C ++ to develop a game server side that includes multiple servers Requires the use of Publisher / Subscriber with Pattern. Each server subscribes to some events on different servers, all servers are located on the same network, so the latency and packet-loss should be very low.
Is there a library that I can use for this purpose?
Any help is greatly appreciated
You (async sockets I / O) (for the observer pattern) or should be able to combine (synchronized version of Boost) signal.
It can show how this can work, this is a simple example. Note that it uses a cover on Boost.Signal, but you get this idea.
Comments
Post a Comment