chekmate@athena.mit.edu (Adam Kao) (11/29/89)
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
kgk@cs.brown.edu (Keiji Kanazawa) (11/29/89)
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
kgk@cs.brown.edu