The SIMPL open source project (
http://www.icanprogram.com/simpl) has
been around since 1999. From very early on SIMPL has maintained an
extensive set of Tcl/Tk connection libraries. One such library
utilizes a daemon and a TCP/IP protocol to allow Tcl/Tk processes
running in Windows to appear as well behaved SIMPL processes to a
Linux network. This approach was originally conceived to allow a
Tcl/Tk Netscape plugin to connect seamlessly to a SIMPL application
under Linux. SIMPL also supports a C based shared library which
exposes the SIMPL API (Send/Receive/Reply/name_attach/name_locate) to
Tcl/Tk scripts running on Linux. This has been used extensively to
allow Tcl/Tk GUI modules to exchange messages with C based business
logic modules.
Recently the principal developers on the SIMPL project have published
a book (http://www.lulu.com/content/2741200) which contains many
examples of Tcl/Tk and SIMPL messaging working together.
bob