Introduction to TclHttpd

The possibilities offered by Tcl go far beyond plain CGI scripting—the entire web server can be written using this language. But before you eagerly start writing your own, know that this task was already done by Brent Welch, the author of TclHttpd—the powerful web server completely implemented using the Tcl language. The author claims that at the beginning the entire code had about 175 lines. Tcl's input/output subsystem is well crafted, and it offers maximum usability with minimum coding.

The homepage of TclHttpd is located at The latest available officially released version 3.5.1 was released on May 27th, 2004.This is both bad and good information: the code is pretty old and not ...

Get Tcl 8.5 Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.