From: Adam Kao
Subject: Does HP/Lucid Common Lisp support pipes/sockets?
Date: 
Message-ID: <1989Nov28.224043.13541@athena.mit.edu>
Hello, I am trying to get a Lisp process and a C process to communicate
with each other.  I would like to use pipes or sockets but I don't know
if the Lisp I'm using can handle that and I don't know where to look.

Can anyone help?  Suggestions for other ways to connect Lisp and C
processes are also welcome.

I am using the:
HP COMMON LISP II Development Environment Rev A.02.01 02/08/88
on HP 350 workstations.

I also hope to have my software run with the 835 Lisp environment, if
that makes a difference.

Thanks very much,

Adam Kao
From: Keiji Kanazawa
Subject: Re: Does HP/Lucid Common Lisp support pipes/sockets?
Date: 
Message-ID: <KGK.89Nov29102642@hookipa.cs.brown.edu>
Adam Kao writes:

   Hello, I am trying to get a Lisp process and a C process to communicate
   with each other.  I would like to use pipes or sockets but I don't know
   if the Lisp I'm using can handle that and I don't know where to look.

As long as the lisp has a foreign function interface for C objects
and libraries, you should be able to use sockets or pipes.  I don't
know about HP's lisp in particular, but it shouldn't take more than a
page of C and a couple of lisp functions to have lisp and C talking
through a socket.  However, that's just I/O we're talking about.  It
may take some effort to make error handling work right and so on.


Keiji Kanazawa
ยทยทยท@cs.brown.edu