[zeromq-dev] Blocking receive with timeout

Mikko Koppanen mikko.koppanen at gmail.com
Wed Jul 6 20:58:30 CEST 2011


On Wed, Jul 6, 2011 at 9:48 PM, Christian Martinez <chmar at microsoft.com> wrote:
> Quick question, am I missing a timeout option for a blocking receive perhaps
> in one of the flags? If it’s not there, is there a philosophical or
> technical reason for it not to exist?

Hi,

you can use zmq_poll with a timeout to see when the socket becomes readable.


Thanks,
Mikko



More information about the zeromq-dev mailing list