How can a CGI C++ Server-api on Apache receive data from an HttpServer and reply?

I want my CGI C++ Server api (on Apache) to be able to receive data (strings) from an HttpServer (a website) and also reply back data (string Array) to the HttpServer.

I actually have set up a C++ DBMS api which takes SQL strings parses&executes them and replies back the char array. So I want to 'Internetize' it.

Im on Kubuntu 10 and installed Aphache, but since I've completely no idea, at 1st point I just want to know the general framework how it works besides OS, so please dont move it to the dead Linux Programming.
Topic archived. No new replies allowed.