From: Haris Bogdanovi� on
How to start clisp or sbcl listening on some port ?


From: Helmut Eller on
* Haris Bogdanovi� [2010-05-21 18:20+0200] writes:

> How to start clisp or sbcl listening on some port ?

socat exec:clisp tcp-listen:4242,reuseaddr

Helmut
From: Captain Obvious on
HB> How to start clisp or sbcl listening on some port ?

For what purpose?
From: Haris Bogdanovic on
For mod_lisp.
I started it, as Helmut said:
socat exec:clisp tcp-listen:30000,reuseaddr

I tried to open file:
http://localhost/asp/test.lisp (which only has "(+ 1 2)" expession)
and apache responds (after waiting):
A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond. : error reading from Lisp

and in command line sockat exits with:
socat[756] E write(5, 0x6f0cd0, 6): Software caused connection abort

Where is the problem now ?
I guess maybe I have to respond to clisp process somehow from my test.lisp ?


From: Zach Beane on
"Haris Bogdanovic" <fbogdanovic(a)xnet.hr> writes:

> For mod_lisp.
> I started it, as Helmut said:
> socat exec:clisp tcp-listen:30000,reuseaddr

If you want to use mod_lisp, which I don't recommend, you need to load
software into your Lisp system that speaks the mod_lisp protocol, and
start it. http://weitz.de/tbnl/ is an old, obsolete library that speaks
the mod_lisp protocol.

Zach
 |  Next  |  Last
Pages: 1 2
Prev: Principal Component Analysis
Next: Number types in Lisp