server command octave 3.2.0

View: New views
2 Messages — Rating Filter:   Alert me  

server command octave 3.2.0

by Stephen Ierodiaconou-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey all,
great update to octave !

Ive recently come across the need to use octave over TCP/IP and wanted
to use the server() command however in the windows install the command
is unknown.

"
 > server(11234,'debug')
error: `server' undefined near line 15 column 1
"

I can use socket() listen() etc but looking in server.cc the command
parsing functionality of server looks useful.

Im a bit new to Octave so sorry if its a stupid question

regards
steve

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: server command octave 3.2.0

by Søren Hauberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

lør, 20 06 2009 kl. 14:04 +0100, skrev Stephen Ierodiaconou:
> Ive recently come across the need to use octave over TCP/IP and wanted
> to use the server() command however in the windows install the command
> is unknown.

Hmm, it seems there was a small mistake in the 'server.cc' file that
prevented it from compiling. I've updated the source code, so the issue
should be fixed in the next release of the 'miscellaneous' package.

Thanks
Søren

P.S. It would be nice if anybody that actually uses/understands this
function would spend some time on cleaning up the code. I couldn't
understand why 'std::cout' was used instead of 'octave_stdout', and my
compiler generated a bunch of warnings that I'd like to see fixed. I can
attempt to fix these issues, but I wouldn't know how to test the
resulting code, so I'm not going to do this.


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev