title: How do I write a web server in C/C++ on linux
body: <p>I am looking into developing a small (read:rudimentary) web server on a linux platform and I have no idea where to start.</p>
  
  <p>What I want it to be able to do is:</p>
  
  <ul>
  <li>Listen on a specific port</li>
  <li>Take HTTP post and get requests</li>
  <li>Respond appropriately</li>
  <li>No session management required</li>
  <li>Has to be in C or C++</li>
  <li>Has to run as a service on boot</li>
  </ul>
  
  <p>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.</p>
  
  <p>Can you advise me with some resources to bridge the learning curve?</p>