Hi! I have a (hopefully small) problem with receiving from some PUB/SUB socket: my (modified) queue device correctly polls on several sockets, one of them a SUB socket. the incoming message is correcly copied using base_socket_t::recv to the workers PUB socket. The worker also is polling on two sockets, one of them the SUB socket connected to the queue's PUB socket and gets the incoming message signaled. 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. What does the illegal return code and the errno of 11 tell me in this case? How can I tell, if it's really all fine, when everything indicates an error, but the message data and length are OK ? ^5 sven
|
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
