On Wed, 24 Mar 1999, david shen wrote:

> Hi, guys

That is a little tricky as Jacl does not have a finished implementation
of the socket command yet.
 
> I would like to run tcl(Jacl) script file on the remote server and
> then display the result on my machine.
> 
> What would be the easiest way to to it?
> 
> I would like to do the following:

You could do this by creating a java socket object directly in Jacl
using the java::* commands and then invoking the correct methods
on them. After your Jacl server got a message it could then call
intep.evalFile() and then write the result back over the network
connection. That should not be too difficult. If you just want to
"get it done" this would be the quickest way. If you have a little
time to spare and you would like to help out you could implement
the socket command in Jacl. This would be a much better "long term"
solution as the socket command would become a supported part of Jacl.
I would be willing to provide as much help as I can.

later
Mo DeJong
dejong at cs.umn.edu

> 1) using either TCP/IP or RMI to pass the tcl script to the remote
>    machine
> 2) The remote machine would do the following
>    a) interp.evalFile();
>    b) interp.getResult();
> 
> 3) pass back the result from 2(b)
> 
> 4) Is this the best way to do it or there are some other alternatives?
> 
> thanks for your help
> 
> david
> Get Your Private, Free Email at http://www.hotmail.com
> 
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by WebNet Technologies.
> To subscribe:    send mail to [EMAIL PROTECTED]  
>                  with the word SUBSCRIBE as the subject.
> To unsubscribe:  send mail to [EMAIL PROTECTED] 
>                  with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'. 
> A list archive is at: http://www.findmail.com/listsaver/tcldallas/
> 

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to