Programming TclHttpd server

Providing the static content to the client, although crucial, is not the most passionate feature of modern web servers. The entire magic and source of extreme success of WWW in today's world comes from server-side programming and the ability to deliver dynamically generated responses—it may include a web page, image, or any other type of media.

In this section, we are going to present how TclHttpd, being the fully-featured web server, is able to fulfill these challenges.

Providing static content

There is not much to write about it. The basic feature of the type of content referred to as static is that it does not depend on the request's parameters—the client is always served with exactly the same content they had requested, ...

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.