I'm totally new to programming c++ for Linux, I'd like to make the following;
Console application that would handle and echo the parameters of an incommoding HTTP GET request.
But my first step would be;
So if open a browser and do a;
http://192.168.2.10/?yadda=1
On my linux system on 192.168.2.10, I would get a echo on the screen
New incomming web request parameters: yadda=1
I've done this a few times with .NET with a http listener, but I'm totally clueless on how to do this with C++ in linux.
Thanks for your help!
(No netcat, no vmware under linux running .net with a httplistener, no echo-ing piping, script solution, emulation or whatever, I want to know how to do it in C++ under linux)
In other words;
Dim listener As New HttpListener()
listener.Prefixes.Add("http://localhost/")
Dim context As HttpListenerContext = listener.GetContext
In linux using C++ to create a binairy executable. Some actual lines of c++ code would be helpfull. Thanks