[zeromq-dev] zmq_poll documentation

Christian Kamm kamm at incasoftware.de
Fri Sep 20 14:32:28 CEST 2013


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



More information about the zeromq-dev mailing list