A stream created using open-tcp-stream.
Code to be executed while the stream is "noticed".
The macro is designed to be used with streams created by open-tcp-stream.
read-charand so on) will do this automatically when necessary. However, if you call process-wait yourself with a wait-function that detects new input from a socket stream, then this macro is necessary to cause LispWorks to evaluate the wait-function when there is input on the underlying socket. Without that, there might be a delay before the thread responds to the input.
with-noticed-socket-streamis not implemented on the Windows platform.
LispWorks User Guide and Reference Manual - 20 Sep 2017