Ben Cantrick (mackys) wrote,
Ben Cantrick

  • Mood:

Public announcement for The Ghetto Webserver.

Welcome to the home page of the Ghetto Webserver. This is a quick hack, non-HTTP/1.0 complaint webserver I coded up in an afternoon, and refined a bit in another. It's written in plain C, using the UNIX sockets API. The original version was ~180 lines, alpha 2 (below) is up to ~250. I'm putting it up in the hope that it may be useful and/or interesting for people attempting to learn sockets, or those who want a simple example of a webserver implementation without too much extra crud that might obscure the basic functionality, or people looking for an EXTREMELY simple, lightweight and free-as-in-beer webserver for embedded applications.

I liked this little project I hacked up so much, that I decided I'd make a web page for it. Enjoy!
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.