Yes, the text is totally wrong. You can poll on input only, and send independently... I'll fix that.
Thanks for spotting it. -Pieter On Fri, Sep 20, 2013 at 2:32 PM, Christian Kamm <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
