TCL Master/Slave relationship details: A. 1. Receive reply 2. Decompress into buffer 3. Create Tcl interpreter 4. Set interpreter to Safe mode and set up interfaces. 5. Run interpreter on buffer. 6. Tear down interpreter Issues include the aforementioned timeout problem and being able to transfer bytecode. I have a feeling that that will involve some clever Tcl hacking and will not be portable to new tcl versions. Any ideas? If speed isn't of the essence it might be better to just plug in a good compression algorithm. I'll look into it.
Unfortunately, there exist some bugs in the client response code handling. If you want to see a cool example of this, try doing an nslookup on one of our entries:
nslookup server torrey.cs.utah.edu set querytype=txt foo.ourexample.com