Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!newsfeed.internetmci.com!EU.net!peer-news.britain.eu.net!newsfeed.ed.ac.uk!edcogsci!jeff
From: jeff@cogsci.ed.ac.uk (Jeff Dalton)
Subject: Re: Allegro CL 4.2 socket connection
Message-ID: <DKoAs7.MAu.0.macbeth@cogsci.ed.ac.uk>
Organization: Centre for Cognitive Science, Edinburgh, UK
References: <4bcpq5$jem@pollux.usc.edu> <KANDERSO.95Dec27100510@lager.bbn.com>
Date: Thu, 4 Jan 1996 20:12:07 GMT
Lines: 26

In article <KANDERSO.95Dec27100510@lager.bbn.com> kanderso@lager.bbn.com (Ken Anderson) writes:
>In article <4bcpq5$jem@pollux.usc.edu> aherdem@pollux.usc.edu (AE) writes:
>
>> 
>> I am trying to create a socket connection to Allegro Common Lisp 4.2
>> for a CGI script that needs to interact with a lisp program. I looked
>> at the ipc.cl and tried functions start-lisp-listener-daemon, 
>
>I'll send you some example code we've used.
>
>You can also connect the Lisp application directly to the Web, see:
>http://alpha-bits.ai.mit.edu/projects/iiip/doc/cl-http/home-page.html

I'm not sure why you need sockets.  I have Common Lisp CGI stuff that
doesn't need socket connections or a CL http server.  (I'm not saying
you _don't_ need a socket connection -- I'm just not sure why, and
hence that you really do.)

(What I do is save an executable Lisp image that, when it starts up,
reads the CGI query args and produces whatever output is required.
So it all happens via standard input and output.)

-- jeff



