November 2010
Intermediate to advanced
504 pages
12h 45m
English
This chapter described how to use streams to let your Lisp programs interact with outside resources. You learned the following:
Different types of streams interact with different types of resources. These include console streams, file streams, socket streams, and string streams.
Streams can be categorized based on their direction. Output streams let us write to a resource. Input streams let us read from a resource.
Socket streams allow computer programs to communicate over a network. To establish a socket stream, we must first open sockets on both ends and open a socket connection between the programs.
String streams allow us to use functions that require streams without linking to an outside resource, for debugging purposes. They ...