I would like to create a very bare-bones web server in C++ which only needs to respond to XMLHttpRequests. The idea to have an Apache server serving webpages which directs the XMLHttpRequests to an existing application so that the app can provide monitoring data to users. I have a hacky implementation working now where the existing app writes over an XML file on disk, but I'm afraid this is super inefficient, as the data changes at ~30Hz. I've never done any port programming, but I'm willing to learn. Does anyone have any places to start looking? An existing library would be great, but I could also deal with a straightforward explanation of the necessary protocol.
Thanks! --Boatzart