Michel, I just checked the following.
The connection to a socket server via
-s <portnumber>
works for me with GCL (Linux and Windows Vista), CCL and CLISP.
Maybe the documentation should contain an advice that the option -s
does not work for all Lisps.
The version
-r ":lisp (setup-client <portnumber>)"
works for me with GCL (Linux and Windows Vista), CCL, CLISP, SBCL,
CMUCL and ECL.
( wxMaxima obviously handles different Windows versions differently. )
GCL is my standard Lisp in both Linux and Windows so I always had in
mind that -s <portnumber> will work. I guess you are using SBCL.
Volker
2013/3/27 Michel Talon <talon at lpthe.jussieu.fr>:
>
> Le 27 mars 2013 ? 13:11, Volker van Nek a ?crit :
>
> I work on Linux. I can imagine that a firewall in your OS prevents this
> communication. To check this just try to
>
> use only netcat for a chat via socket
>
>
> No it is not a firewall problem, the chat with netcat works perfectly OK.
> Let me repeat, to be clear,
> the use of maxima -s 'xxxx' doesn't work on FreeBSD and Mac OS X, but there
> is a workaround i have described.
> From what you are saying it works on Linux, on Windows i don't have any
> idea.
> It would be interesting to dissect how exactly wxmaxima communicates with
> maxima, since this works on all
> platforms. As a matter of fact, this is done in some cases according to the
> workaround i have described:
>
> in wxMaxima.cpp
> command = files[0];
> command.Append(wxString::Format(
> wxT(" -eval \"(maxima::start-client %d)\" -eval
> \"(run)\" -f"),
> m_port
> ));
> }
> }
> else
> command.Append(wxString::Format(wxT(" -s %d"), m_port));
> wxSetEnv(wxT("home"), wxGetHomeDir());
> wxSetEnv(wxT("maxima_signals_thread"), wxT("1"));
> #else
> command.Append(wxString::Format(wxT(" -r \":lisp (setup-client %d)\""),
> m_port));
> #endif
>
>
> --
>
> Michel Talon
> talon at lpthe.jussieu.fr
>
>
>
>
>