Version 1 of Channel Implementations

Updated 2001-09-20 17:11:37

This page describes all known channels, including those in extensions. Part of the benefit is so that people implementing new channels can look at how others have done it. - DL


Built-in Channels

file
File/device/process channel (create with open)
sock
TCP channel (create with socket)

Extension Channels

exp
Pty/process channel (create with spawn). Expect extension. [L1 ] Don Libes
tls
SSL channel (create with tls::socket). TLS extension. [L2 ]
x25
X.25 switched virtual circuit (create with x25::socket). x25 extension. [L3 ]
memchan
In-memory channels. memchan extension Andreas Kupries
fifo
In-memory channel, fifo-behaviour. memchan extension (s.a.)
   mod_dtcl:        mod_dtcl has a file channel built in to interact with Apache [http://tcl.apache.org/mod_dtcl/]
CacheOut
CacheOut does just that - it stores everything that goes to stdout from when it is started untill it stops. Can be used by higher level Tcl scripts to cache output (useful for things like web pages). Available at [L4 ]

Other documentation

See the Tcl documentation at SourceForge [L5 ], specifically

  • The Tcl I/O system as seen by a driver (channel type) [L6 ] and
  • The interaction between the I/O subsystem and the notifier [L7 ].