Book description
Learn Tcl and you’ll never look back when it comes to developing network-aware applications. This book is the perfect way in, taking you from the basics to more advanced topics in easy, logical steps.
Develop network-aware applications with Tcl
Implement the most important network protocols in Tcl
Packed with hands-on-examples, case studies, and clear explanations for better understanding
In Detail
Tcl (Tool Command Language) is a very powerful and easy to learn dynamic programming language, suitable for a very wide range of uses. Tcl is regarded as one of the best-kept secrets in the software industry. This book gives you a hands-on experience on Tcl, helping you develop network-aware applications using this mature yet evolving language.
This book shows you how to create network-aware applications with Tcl language. Packed with practical examples, the book not only takes you through the implementation of network protocols in Tcl, but also key aspects of Tcl programming.
The book starts with the basic element of Tcl programming as we take a look at the syntax and fundamental commands of the language. To get us ready for network programming, we look at important Tcl features such as object-oriented programming, accessing files, packaging in TCL, event driven programming, and multithreaded applications. To create standalone single-file executable applications with Tcl we take a look at the Starpack technology, and ensure that we’ll be able to create robust applications with a thorough coverage of troubleshooting and debugging Tcl applications.
The book is really about network programming, and it will not let you down with its deep coverage of these topics. Of course we look at protocols, but there are plenty of practical examples to keep things moving along. We start with the TCP and UDP protocols, and look at some other protocols to see examples of synchronizing time with other servers, querying user information and authenticating users over LDAP and performing DNS queries.
The book explains Simple Network Management Protocol (SNMP), which is often used for monitoring and gathering information from various devices, such as routers, gateways, printers and many other types of equipment. We’ll also look at web programming in Tcl; processing the requests coming from the clients via the HTTP protocol and responding to these requests. You’ll be able to create a complete solution for creating a client-server application in Tcl.
To round things off, you’ll see how to secure your networked applications, build public key infrastructure into your application and use Tcl’s safe interpreter feature to reduce risk of running code from unknown source.
This book will be help you discover a range of network protocols and concepts and show how to implement them in Tcl
Table of contents
-
Tcl 8.5 Network Programming
- Tcl 8.5 Network Programming
- Credits
- About the Authors
- About the Reviewers
- Preface
- 1. Introducing Tcl
- 2. Advanced Tcl Features
- 3. Tcl Standalone Binaries
- 4. Troubleshooting Tcl applications
- 5. Data Storage
- 6. Networking in Tcl
- 7. Using Common Internet Services
- 8. Using Additional Internet Services
- 9. Learning SNMP
-
10. Web Programming in Tcl
- Tcl scripts as CGI application
- Introduction to TclHttpd
- Programming TclHttpd server
- Summary
- 11. TclHttpd in Client-Server Applications
- 12. SOAP and XML-RPC
-
13. SSL and Security
- Learning Secure Socket Layer
- Authorization and roles
- Securing your application
- Summary
Product information
- Title: Tcl 8.5 Network Programming
- Author(s):
- Release date: July 2010
- Publisher(s): Packt Publishing
- ISBN: 9781849510967
You might also like
book
Automating System Administration with Perl, 2nd Edition
If you do systems administration work of any kind, you have to deal with the growing …
book
PowerShell and Python Together: Targeting Digital Investigations
Bring together the Python programming language and Microsoft’s PowerShell to address digital investigations and create state-of-the-art …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Building a Monitoring Infrastructure with Nagios
Build real-world, end-to-end network monitoring solutions with Nagios This is the definitive guide to building low-cost, …