I am looking into developing a small (read:rudimentary) web server on a linux platform and I have no idea where to start.

What I want it to be able to do is:

  • Listen on a specific port
  • Take HTTP post and get requests
  • Respond appropriately
  • No session management required
  • Has to be in C or C++
  • Has to run as a service on boot

I am familiar with HTTP headers and am an experienced PHP and .Net web developer, but I am not sure where to start with this task.

Can you advise me with some resources to bridge the learning curve?

Edit
Report