Version 10 of ceptcl

Updated 2006-06-13 15:21:31 by dkf

Stuart Cassoff's "Communications Endpoints for Tcl" [L1 ] gives, among other functionality, UDP, IPv6, ...

 What: ceptcl
 Where: http://www.fivetones.net/software/
 Description: Provides a variety of new socket types and greater
        control over socket options.  Includes 
        Domains : local (AF_UNIX), inet4 (IPV4), inet6 (IPV6)
        Types   : tcp, udp, raw
        Options : boradcast, multicast, etc.
        ceptcl is designed to be backward compatible with
        existing Tcl socket apps.  It is intended that
        all you need to do to use ceptcl is to require the
        package and change the invocation of 'socket' to 'cep'.
        Tested on OpenBSD, MacOSX, NetBSD, Linux.
        Currently at version 0.3 .
 Updated: 04/2005
 Contact: See web site

["... significant demo of Tcl's extensibility (and Tcl_Channel's as well) ..."]

[... only internal mucking is through <tcl.h> ...]

[... fully compatible with socket, tls, ...]

[?Fit for folding back into core?] (I think so --JE)

"It has been designed so that Windows capability would be easy to integrate." As of May 2005, though, there's no Windows port.

PT The most advanced socket extension for Windows is iocpsock [L2 ] which provides IRDA and IPv6 sockets and significant performance improvements for normal sockets on this platform. It is probably best if these two extensions either get merged or are merged into the core together.

JE (23 Nov 2005) The ceptcl source tarball has been missing in action for a while now -- the original author recently resurfaced on the chatroom looking for a copy! -- but there's a cached copy here: [L3 ]


Using ceptcl to work with existing Unix-domain sockets

 set chan [cep -domain local /path/to/socket]

And from there on it is just like working with normal Tcl sockets (except for the different fconfigure options, of course.)


[Category Package|Category Internet]