I am about to change some code in order to make it controllable by a web interface. I want to be able to get commands and values out of the http-stream/messages and send back results (ie. complete pages or just a few numbers to be embedded in the page etc.).
I got simple requests/replies so far and it does what i want but its no way clean nor is it standard conformant
Now my problem is that it would be nice if there would be a way to avoid re-implementing ALL this http stuff. I want to be able to deal with my data only and let the library do the standard things like fetching images and fixed html pages from files.
So i wondered if there is a library that can do something like this for linux ?
Or any good idea ? Chris