Summary

Tcl can communicate with applications and devices using a variety of protocols and talk to different types of hardware—embedded devices, routers, desktops, and servers.

We can use e-mail to communicate with users and/or applications. Tcl allows us to send and retrieve e-mails. It also offers mechanisms for parsing and building MIME messages that include support for attachments, inlined images, multiple document types, and different encoding systems.

We can use Tcl to transfer files over FTP and HTTP. We can use this to retrieve information, communicate with server part of our application, download updates, upload results as well as many other operations. We can also automate web-based operations using HTTP client.

In this chapter, we have ...

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.