Sie befinden sich aktuell in den Newphoria Blogs Blog-Archiven für den folgenden Tag 2009-05-22.
2009-05-22 von ekkehard.
How often have you wished to write your own web server? With my little program, you can. It contains all necessary code to write a UNIX-based web server (i.e. just like in the real world, you’ll need an operating system like Linux, FreeBSD, Solaris or AIX). The only thing that remains to be done is to implement a single function, handle_http_request(), that handles the Hypertext Transfer Protocol (HTTP). The input will be ready on the specified input stream, and you can write any output to the specified output stream. The code is written in the C programming language, and comes with a BSD license, ready to be used at home or at work.
Geschrieben in Ideas, Personal Projects | Keine Kommentare »
2009-05-22 von ekkehard.
This set of two small utilities I’ve written can be used to tunnel binary data over HTTP by the usage of HTML pages that appear normal to most machines.
Thus, firewalls can be avoided since most data going through port 80 is relatively unfiltered.
Of course, these two small programs are only part of the cure. The source code can be used in more sophisticated solutions. They’re written in portable ANSI C, and have a BSD license (so, use in commercial applications and/or organizations is expressly permitted).
Source code (.tar.gz format)
Source code (.zip format)
Geschrieben in Ideas, Personal Projects | Keine Kommentare »