PacktLib: Tcl 8.5 Network Programming

Tcl 8.5 Network Programming

Credits

About the Authors

About the Reviewers

Preface

Introducing Tcl

What is Tcl/Tk

Installation

Additional tools

Tcl syntax

Summary

Advanced Tcl Features

Tcl features

Object-oriented programming

Accessing files

Packages in Tcl

Event-driven programming

Multithreaded applications

Summary

Tcl Standalone Binaries

Understanding the executable file structure

Learning the Metakit database

Learning more about virtual file systems

Learning Tclkit

Starkit and SDX

Knowing the Starpack technology

Practical example—the Hibernator application

Advanced topics—self updating

Other solutions

Summary

Troubleshooting Tcl applications

Logging

Debugging

Summary

Data Storage

Internationalizations

Using SQL and databases in Tcl

Handling XML in Tcl

Storing raw Tcl values

Summary

Networking in Tcl

Using TCP sockets

Using UDP sockets

Summary

Using Common Internet Services

Handling e-mail

Transferring files and data

Summary

Using Additional Internet Services

Checking DNS

Getting the current date and time

Using LDAP from Tcl

Communicating with Tcl applications

Summary

Learning SNMP

Introduction to SNMP

Tcl and Scotty package

Using Tcl for SNMP communication

Summary

Web Programming in Tcl

Tcl scripts as CGI application

Introduction to TclHttpd

Programming TclHttpd server

Summary

TclHttpd in Client-Server Applications

Creating HTTP-based applications

Adding autoupdate to application

Extending your applications

Improving scalability and performance

Summary

SOAP and XML-RPC

Tcl and standards for remote procedure calls

Connecting to XML-RPC services

Using SOAP protocol

Summary

SSL and Security

Learning Secure Socket Layer

Authorization and roles

Securing your application

Summary