The
handler slot of a threaded server instance should be set to a quotation which handles client connections. Client handlers are run in their own thread, with the following variables rebound:
An alternate way to implement client handlers is to subclass
threaded-server, and define a method on
handle-client*.
The two methods are equivalent, representing a functional versus an object-oriented approach to the problem.