[zeromq-dev] Blocking receive with timeout

Pieter Hintjens ph at imatix.com
Wed Jul 6 21:04:29 CEST 2011


Andrew,

> if you need a timeout, thats what alarm() is for, or as mikko says, do
> polling.

Have you successfully used alarm() in conjunction with zmq_recv()?
That's a neat idea, it'd be worth documenting somewhere.

-Pieter



More information about the zeromq-dev mailing list