Re: Domain scokets? ceptcl?



graeme.pietersz@xxxxxxxxx wrote:
What ways of using unix domain sockets from Tcl are available? ceptcl
seems to have been at 0.3 for a long time.

I found at least one extension that uses them (libmsgque), but it
seems to be doing so from C, not TCL (except indirectly).

I want a fast way of a process to communicate with children (forked
using hte fork command from Expect or TclX if it works for me). Other
methods might work for me.

Well the two common ones are pipes between parent and child, or socket on 127.0.0.1 (or localhost) on a know port (note -- the parent can use dynamic port allocation and pass the actual port the children as a command line arg when it starts them).


--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.


Quantcast