Sven,

> that reminds me of my recently reported problem, that poll returns wrong
> codes.
> I thought, that it's been completely my fault, because I accidentially
> called poll() twice on a socket before recv()ing, BUT:
> the second call to poll() should still tell me, that data is availably,
> which does not happen (at least for SUB). Instead, it behaves like this:
> poll(); ==> blocks until msg arrives, then returns, telling "I have
> something"

> poll(); ==> immediately returns(correct!), but telling "(11) ressource
> not available", which is wrong

what's the return code from zmq_poll in the above? -1?
If so, can you provide a minimal test case?

> recv(); ==> correctly deliveres the arrived message

Thanks!
Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to