[zeromq-dev] zmq_poll documentation

Pieter Hintjens ph at imatix.com
Fri Sep 20 14:38:29 CEST 2013

Yes, the text is totally wrong. You can poll on input only, and send
independently... I'll fix that.

Thanks for spotting it.


On Fri, Sep 20, 2013 at 2:32 PM, Christian Kamm <kamm at incasoftware.de> wrote:
> The zmq_poll() documentation says:
> "The zmq_send() function will clear all pending events on a socket.
> Thus, if you use zmq_poll() to monitor input on a socket, use it before
> output as well, and process all events after each zmq_poll() call."
> But that is not actually correct, is it? As far as I know the
> edge-triggered behavior applies only to the fd returned by the ZMQ_FD
> option and zmq_poll()'s behavior is unaffected by zmq_send() calls.
> Sincerely,
> Christian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list