How to communicate over sockets in Clozure Common Lisp?
|Added at||2016-12-15 16:12|
In one CCL REPL I enter:
It waits for a connection.
In another CCL process I enter:
At this point this process goes into waiting. It neither reads from the server, nor exits.
However, the moment the client connects to the server, the server exits with NIL. So clearly a connection is at least established, but the string "Hello from server." never gets communicated.
I am sure this is something basic I am overlooking. How do I send messages across? Is READ-LINE not the right way to read from a stream? Am I writing from the server incorrectly? How would I establish a bi-directional simple string based communication?