A stream created using open-tcp-stream.
Code to be executed while the stream is "noticed".
The macro with-noticed-socket-stream
evaluates the body forms with the stream stream "noticed" for input. stream becomes unnoticed afterwards.
The macro is designed to be used with streams created by open-tcp-stream.
read-char
and 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-stream
is not implemented on the Windows platform.LispWorks User Guide and Reference Manual - 13 Feb 2015