chickadee » nanomsg » nn-recv

nn-recv socketprocedure

Receive a message from socket. This blocks until a message is received from nanomsg, but it does not block other srfi-18 threads. It always returns a string. An error is thrown if the socket is in an illegal state.

Note that memory is copied from the nanomsg buffer into a new scheme string.