hi

the manual page sais:
http://api.zeromq.org/2-1:zmq-poll

If none of the requested events have occurred on any zmq_pollitem_t
item, zmq_poll() shall wait timeout microseconds for an event to occur
on any of the requested items. If the value of timeout is 0, zmq_poll()
shall return immediately. If the value of timeout is -1, zmq_poll()
shall block indefinitely until a requested event has occurred on at
least one zmq_pollitem_t. The resolution of timeout is 1 millisecond.

first it sais "microseconds" and at the end it sais "millisecond".
first i used microseconds and wondered why the timeout does not happen.
then i switched to milliseconds and it worked as expected.

probably you should correct "microseconds" to "millisecond"


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

Reply via email to