Land of Lisp by Barski M.D. Conrad

Land of Lisp by Barski M.D. Conrad

Author:Barski M.D., Conrad [Barski M.D., Conrad]
Language: eng
Format: epub
Tags: COMPUTERS / Programming Languages / LISP
Publisher: No Starch Press
Published: 2010-11-02T05:00:00+00:00


The IP address 127.0.0.1 is a special address that always points to the computer from which it’s called. If you are using two different computers for this exercise, you should enter the actual IP address of your server.

After running this command, the server will unlock, and the value of the my-stream variable will be set. We now have a stream open in both copies of CLISP, and we can use it to communicate between them!

The stream CLISP has created here is called a bidirectional stream. This means it can act both as an input stream and an output stream, and we can use either set of commands on it to communicate in both directions. Let’s send a cordial greeting between the client and the server.

Enter the following on the client:

> (print "Yo Server!" my-stream)

"Yo Server!"



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.