HTTP Daemon

Computer Science

This, as the name implies, is an HTTP daemon I wrote for CS 460 (networking). It is a very simple C++ based application--it allows you to specify a port and address to bind it to, along with a directory to serve from. It supports only one connection at a time, but it will run CGI scripts (I'm still amazed I was able to pull that off). It does not support POST commands, and mime-type support is hard-coded into it for text, html, css, gif, js, and jpeg files only.

The complete source is contained in the following file, and it's up to you to figure out how to compile it:

Posted September 30, 2000 (11:16 AM)