implementing publish subscribe scenario using distributed programming native C++
i want to implement publish subscribe scenario using a client on one machine and a server found on separate machine , clients to subscribe for specific event on server and server to notify the clients at time event occurs. consider native c++ , client and server run on separate machines.
even a sample code snippet , link ...
thank you 
implementing publish subscribe scenario using distributed programming native C++
===

i want to implement publish subscribe scenario using a client on one machine and a server found on separate machine , clients to subscribe for specific event on server and server to notify the clients at time event occurs. consider native c++ , client and server run on separate machines.
even a sample code snippet , link ...
thank you 