Hi

following discussion about migration from 4.1.2 to 4.2.2, I moved my code
to the new polling API.

I have a question about zmq_poller_wait : when I call it with a timeout of
0, the outcome can be that
no socket is ready (which is possible in my design), but in that case,
zmq_poller_wait return  -1

I think we should be able to distinguish between an error during the call
and the case where
there is no socket ready ?
so maybe returnd code shoud be -1 on error, 0 when there is no event, 1
otherwise ?

Bruno
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to