title: Simple broadcast library/example in C/C++
body: <p>I'm putting together a client/server application written in C/C++. It is mostly C with some C++ features - I come from the C and Java world and don't use lots of heavy advanced C++ language features. In any case, the server resides on one computer and does a variety of internal calculation, and several times a day (at unpredictable times) it will broadcast information to some number of clients (residing on other computers) that have registered with the server to listen for such broadcast messages. The server must be able to broadcast to all registered clients with 100% reliability and very quickly so that clients can update their own internal data to reflect the state change in the server - the state change that the server just broadcast to them. Since it must be reliable, it would have to be TCP/IP, not UDP.</p>
  
  <p>This seems like a pretty standard architecture for networking in C++, but I'd like to find a good library that would allow me to do this easily (some sort of wrapper for the WinSock library so that I can do it easily on Windows without having to dig in to the specific quirks of WinSock) and a simple example of how one would do this sort of thing.</p>
  
  <p>Thanks.</p>