[zeromq-dev] CZMQ zloop question/nit

Pieter Hintjens ph at imatix.com
Thu Aug 16 07:11:59 CEST 2012

Hi Stuart,

> I'm curious why the prototype for zloop_timer is looking for size_t
> types for both 'delay' and 'times'.  Given that other places that
> interact with time intervals use ints (e.g. zclock_sleep and the
> ZMQ_RECONNECT_IVL), I'm left wondering if there is some implication I'm
> missing on why size_t is used in this case. Any insight?

ZMQ_RECONNECT uses int because all integer socket options use that. I
guess the rest is a bit arbitrary.


More information about the zeromq-dev mailing list