httpd
state: finished    license: open source    timestamp: 2007
Project background
This project was created as a contest between me and my friend "fretn".
The rules were simple:
  • Programming code must be clearly readable and commented.
  • Code can but doesn't have to be object-oriented.
  • The server must be able to handle binary and text transfers. It must support at least jpeg, bmp, png, gif and swf in binary mode and html, htm and xhtml in text mode.
  • "Source filesize vs. readability" wins *drum roll* the Honor! :P
  • No GUI.
  • Make a logging system.
  • Through the commandline and a configuration file(that you must be able to edit by hand) you can set the IP and port. The port defaults to 80. The commandline overrides the configuration file's settings.
  • The program can't crash and should clearly say why something fails when it fails.
Download
A setup package for Windows can be found at this location.
A source code package for Visual C++ 2005 can be found at this location.