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 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 memory is copied from the nanomsg buffer into a new scheme string.