Version 19 of Channel Implementations

Updated 2008-03-17 18:12:10 by AK

This page describe 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 [L4 ]
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 [L5 ]
rchan
Reflective channels - they "reflect" channel-reads, -writes, and -seeks to Tcl, i.e. you create an "rchan" and code the implementation in Tcl. Part of Tclkit and used to build a memchan-lookalike, but now also turned into a separate Critcl extension at [L6 ] by Jean-Claude Wippler
iocpsock
high performance sockets for WinNT systems iocpsock
udp
Supports sending and receiving UDP (User Datagram Protocol) packets from Tcl. [L7 ]

Other documentation

See the Tcl documentation at SourceForge [L8 ], specifically

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

Category Channel Category Networking