Exercises, examples and other material relating to training module T244. This topic is presented on public courses Learning to program in Tcl
, Tcl Programming
, Tcl Programming
If you're writing your own client or server, this module covers the terminology, technology and commands involved.
|Articles and tips on this subject||updated|
|4462||Server program written in Tcl using sockets|
Tcl includes socket libraries so that you can write your own clients and servers. Our recommendation is that you stick with standard protocols and use packages such as http rather than inventing your own - however, there might be occasions and on that basis we've got examples on our Tcl Programming course ...
|785||Running external processes in Tcl and Tcl/Tk|
If you want to run external processes from a Tcl based program (Tcl, Tcl/Tk, expect), there are various ways of doing it.
Firstly, the whole purpose of the Expect extension is to allow you to control other processes via its three major commands of spawn which starts another process, send which sends ...
Examples from our training material
|kesclient|| GUI (Tk) client which uses information provided by kesserv server|
|kesserv|| Tcl Server - read from a Linux device and serve information entered by TCP/IP|
|tclserver|| food server - pass on previous persons contribution|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Clients and servers.
Reaching the right service.
Client programming in Tcl.
A simple client.
Considerations for client programming.
A simple server.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.