[zeromq-dev] return codes of recv
Martin Sustrik
sustrik at 250bpm.com
Mon Sep 27 17:24:13 CEST 2010
Hi,
> When I try to
> socket::recv (not the base_socket_t::recv !!!), I get a returncode of 1.
> Documented is only -1 for error and 0 for OK. After this receive, the
> errno is set to 11(ressource not avail), but the message is completely
> read and can indeed be handled properly.
That't the return code from zmq_recv, right? It should not happen.
Do you have a test program to reproduce it?
Martin
More information about the zeromq-dev
mailing list