[Openmcl-devel] socket / IPC question
Gary Byers
gb at clozure.com
Thu Feb 19 12:52:21 PST 2004
On Thu, 19 Feb 2004, Gary King wrote:
> I'd like to build a client/server set up where the client and server
> can be:
>
> () on two different computers
> () in two different Lisps on the same computer
> () in two different processes in the same Lisp
>
> It seems that using sockets would be the way to go here but my
> knowledge of socket based programming is weak at best. I've looked at
> Sven Van Caekenberghe's remote-repl (which is pretty darn cool) but
> what I don't know how to do is to connect to remote REPL from another
> Lisp (rather than telnet) or from another thread in the same Lisp.
>
> If anyone can point me towards good socket programming references,
> examples of doing what I'd like to do, better ideas, etc... then I'm
> all ears.
>
> Thanks,
> --
> Gary Warren King, Lab Manager
> EKSL East, University of Massachusetts * 413 577 0176
There are a few (minor, obscure) differences between the interface it
describes and what exists in OSX, but the "Sockets" chapter of the GNU
C Library reference manual seems to me to be a pretty good starting
point; you can certainly read it in less than an hour if you're
willing to skip a lot of the details
<http://www.gnu.org/software/libc/manual/> has links to the entire
glibc manual in various formats; an online version of the sockets chapter
is at <http://www.gnu.org/software/libc/manual/html_node/Sockets.html>.
If the "sockets.html" page of the OpenMCL documentation doesn't make
much sense before reading the GNU documentation above, it might make
a bit more sense after.
More information about the Openmcl-devel
mailing list