chickadee » nanomsg » nn-recv*

nn-recv* socket flagsprocedure

Receive a message from socket. This will block other srfi-18 threads, unless the nn/dontwait flag is specified, in which case nn-recv* will exit immediately with either a message as a string or #f (for EAGAIN). An error is thrown if socket is in an illegal state.

Note that this can be combined with (nn-socket-rcvfd socket) for custom polling.