Home : Programming
Tcl
My notes on Tcl.
Socket programming
socket -server handler 9999
proc handler {fd clientaddr clientport} {
set t [clock format [clock seconds]]
puts $fd "Hello $clientaddr:$clientport, current date is $t"
close $fd
}
vwait forever
Links to other sites
bwidget - Debian package: The BWidget toolkit is a high-level widget set for Tcl/Tk. It contains widgets such as progress bars, 3D separators, various manager widgets for top levels, frames, paned or scrolled windows, button boxes, notebooks or dialogs as well as composite widgets such as combo boxes, spin boxes and tree widgets.
High Performance Networking Servers - excellent tutorial on creating network server software using Tcl
Tcl the Misunderstood - explains why Tcl is actually quite powerful.
tcllib - core development home for the tcllib standardized Tcl library - a
set of pure-Tcl extensions that you can use to become even more productive with Tcl. It contains many interesting libraries,
too numerous to mention, but I'll present some that particularly caught my attention: list - procedures for manipulating lists, including performing SQL-like joins on lists
tcltext - Tickle Text is a fast, lightweight text editor with a vast array of features for editing code (such as templates for Tcl, Perl, Python, HTML, and LaTeX and the ability to open various shells), moving scripts and Web pages to or from your server with FTP, exporting to PDF, writing LaTeX, posting to livejournal, insanejournal, and more.
TkInfo - Tk browser for info files
Visual Tcl - application development environment and GUI builder. Discussion and possible alternatives
documented here.
Author: Mark Carter
Created: 24-Oct-2010
Updated: 04-May-2012