[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using listen to receive commands
From: |
Paul Kienzle |
Subject: |
Re: using listen to receive commands |
Date: |
Fri, 17 Mar 2006 21:29:01 -0500 |
The file main/miscellaneous/listen.txt in the octave-forge distribution
describes the protocol:
http://cvs.sourceforge.net/viewcvs.py/octave/octave-forge/main/
miscellaneous/listen.txt?rev=1.1&view=auto
The file extra/soctcl/octave.tcl subdirectory has an example of listen
in action:
http://cvs.sourceforge.net/viewcvs.py/octave/octave-forge/extra/
soctcl/octave.tcl?rev=1.5&view=auto
See in particular octave::eval and octave::Recv.
There is no octave client written for listen. There is however
octave-forge/main/parallel which allows message passing between a set
of octave clients.
Hope that helps,
- Paul
On Mar 17, 2006, at 2:52 PM, Corbin Champion wrote:
Using the listen command is trival enough to start octave listening of
a particular port, but does someone have an example, or some help of
how to communicate with it after that point (ie send an arbitrary
command and get the text response). I would like to do this from...
a) perl or some other scripting language
b) from another process of octave running
both are intersting to me. a) is what I would like to get working,
while b) is interesting because I am wondering what functions aleady
exist for this within octave.
Any help would be great!
Corbin
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- using listen to receive commands, Corbin Champion, 2006/03/17
- Re: using listen to receive commands,
Paul Kienzle <=
- Re: using listen to receive commands, Corbin Champion, 2006/03/20
- Re: using listen to receive commands, Paul Kienzle, 2006/03/20
- Re: using listen to receive commands, Corbin Champion, 2006/03/20
- Re: using listen to receive commands, Paul Kienzle, 2006/03/20
- Also learning about Listen, Doug Stewart, 2006/03/20
- Re: Also learning about Listen, Paul Kienzle, 2006/03/20
- Re: Also learning about Listen, Doug Stewart, 2006/03/20
- Re: Also learning about Listen, Doug Stewart, 2006/03/21
- Re: using listen to receive commands, Corbin Champion, 2006/03/20