2008/4/11, Doug Stewart <address@hidden>:
Francesco Cat wrote:
Hi all,
I am planning to create a standalone C++ or Java application. I would
like to use Octave for various tasks, such as calculus and linear
system analysis.
What is the best choice do do this? I have tried using sockets but I
got nothing working (poor documentation and no examples at all).
these links might help you get the socket to work. I got it going in c#
http://velveeta.che.wisc.edu/octave/lists/archive//help-octave.2006/msg00992.html
and
http://velveeta.che.wisc.edu/octave/lists/archive//help-octave.2006/msg00987.html
my main problem is getting listen() working on octave 3.0:
on octave-forge documentation
(http://octave.sourceforge.net/doc/f/listen.html) i can see:
listen(port,host,host,...)
Listen for connections on the given port. [...]
while inside octave i get:
octave:2> help listen
listen(octave_socket,int)
See the listen() man
pages/home/francesco/octave/sockets-1.0.3/i686-pc-linux-gnu-api-v32/sockets.oct
and i wasn't able to see the listen() man pages....