I wrote a module that creates the commands for ns_returnbinary and
ns_writebinary for returning binary data to the user.  It is called
nsbinarysupport and is available for download at
http://www.vorteon.com/download/.

I'd like to see it included in AOLServer itself (rather than as a
module) but before I created a patch I wanted to find out if there is a plan
for how to create 2 versions of some commands, TclObjCmds for Tcl 8.x and
TclCmds for Tcl 7.x.  (There's nothing special about these commands.  They
are simply ns_write and ns_return translated to use TclObjCmds).

I understand AOLServer 4 will have better support for TclObjCmds and remove
Tcl 7.x.  I assume then that returning binary to the user will be much easier
then (a simple ns_write or ns_return).

(Tip: Don't use listserv.aol.com in your email address.  The server makes all
your messages disappear.  I've been a member of the list for about a month
but only figured this out today so all my previous posts have failed.)

Reply via email to