Where can I find the manual about socket communication with Maxima ?





Thank for replying.

I follow your suggestion and now the connection is already established.

Without doing string manipulation, is there the easiest way to extract the output generated by maxima and get notified whether the output has an error?


regards,





-----Original Message-----
From: Volker van Nek <volkervannek at googlemail.com>
To: visual_cpp at programmer.net; Maxima at math.utexas.edu
Sent: Fri, Dec 18, 2009 5:05 pm
Subject: Re: [Maxima] Where can I find the manual about socket communication with Maxima ?


Hi,
1. you have to create a socket server (Maxima does not act as a
erver!). 
. connect Maxima to this socket (as a client):
Windows:  pathTo\maxima.bat -s portNr
Linux:    maxima -s portNr
. now the server itself or another socket client can communicate to
axima over the socket using the corresponding in/output-streams of the
ocket-connections.
I went through this in Java. If you are interested, I can send you my
iles. But more interesting for you might be the source code of
xMaxima:
ttp://sourceforge.net/projects/wxmaxima/files/wxMaxima/0.8.4/wxMaxima-0.8.4.tar.gz/download
n wxMaxima.cpp you can read this in C++. This might be more helpful if
ou program in C#.
Volker van Nek

m Freitag, den 18.12.2009, 01:33 -0500 schrieb
isual_cpp at programmer.net:
 
 
 Dear all members,
  
 I am interested to create a mathematics problem builder using C#,
 LaTeX, and Maxima.
  
 I have no information about the way my C# code can communicate with
 Maxima.
  
 Some searches on the internet only end with almost nothing.
  
  
 Does anyone here know where I can find this information?
  
  
 Thank you in advance.
  
  
 regards,
  
  
  
  
 _______________________________________________
 Maxima mailing list
 Maxima at math.utexas.edu
 http://www.math.utexas.edu/mailman/listinfo/maxima