Operating Maxima out of another program by a TCP connection
Subject: Operating Maxima out of another program by a TCP connection
From: maxima-list at ssteiner.com
Date: Thu, 10 Jan 2008 14:15:44 +0100 (MET)
Dear Maxima experts,
I'd like to operate Maxima out of a self-programmed software by using a TCP connection. I use Windows 2000/XP. According to the source code of wxMaxima, it should be possible to start maxima in something like a "server mode" in which it allows connecting to it through a tcp connection. But I still haven't succeeded in starting Maxima this way. What are the correct command line parameters for maxima.exe to make Maxima accept tcp connections on port xy (e.g. 4010)? I already tried
maxima -eval "(maxima::start-server 4040)" -eval "(run)" -f
[=> error message: Error in SYSTEM::SET-UP-TOP-LEVEL [or a callee]: Could not connect]
and
maxima -s 4010
[=> Maxima just quits, nothing happens]
but both command lines don't work. How to make Maxima become operatable using a TCP connection?
Thanks a lot!
Bye,
Sebastian