Chapter 11. TclHttpd in Client-Server Applications

By now we have learned a lot about network communication, and HTTP in particular, along with setting up TclHttpd for providing files and responding to requests from Tcl. We also learned how Tcl uses VFS to provide both standalone applications and package multiple files, into a single deliverable file we can later on use. Now, we'll put this knowledge into practice and create a sample client-server application that uses these technologies.

Throughout this chapter, we'll create a simple application that consists of a client and server. The application will work over HTTP and will allow multiple clients to communicate with a single server. It will also offer a comm interface on the server to invoke ...

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.