[racket] Using Maxima fra Racket

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu Mar 8 17:31:15 EST 2012

It sounds like Maxima and your Racket program are both trying to be the 
TCP listener.  Maybe "tcp-connect" instead of "tcp-listen"?

Once that's working, for robustness, you might want to manage some TCP 
I/O buffers yourself, and use "sync" (or "sync/timeout" or similar) on 
the ports.  Using the buffers also makes it easier to look for some 
markers in the protocol without blocking.

P.S., I know you used that "process" temporarily here, but for the 
benefit of people who see this later, they should try to use "process*" 
instead, and monitor the status of the ports and the process (possibly 
in the same "sync" as the TCP ports).

Neil V.


Posted on the users mailing list.