Hello,
Attached are patches for the tcl fconfigure command options -sockname
and -peername. The patches should be run against Jacl 1.4.0
jacl1.4.0/src/jacl/tcl/lang directory. Hopefully they are useful to
someone or even may be incorporated into a future version of Jacl. They
have been tested with Jacl against the tcl/ioCmd.test using Java JDK 1.4.2.
The patches should apply and work equally well with Jacl 1.4.1.
We really wanted to use Jacl and the Tcllib 1.9 comm package. However
this also required the tcl command fileevent which Jacl doesn't seem to
have at the moment. Even though I can see that it can be implemented in
the Java JDK 1.4.2, I can't justify the time to implement that at the
moment. Perhaps someone else has done that by now?
Cheers, Ralph.
|