[zeromq-dev] Blocking receive with timeout

Andrew Hume andrew at research.att.com
Wed Jul 6 21:17:21 CEST 2011

no; i assumed it would just work.

i do use it for the handful of cases where i read from a socket
because networking sucks buckets and such reads may hang.


On Jul 6, 2011, at 12:04 PM, Pieter Hintjens wrote:

> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Andrew Hume  (best -> Telework) +1 623-551-2845
andrew at research.att.com  (Work) +1 973-236-2014
AT&T Labs - Research; member of USENIX and LOPSA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110706/c562ae12/attachment.htm>

More information about the zeromq-dev mailing list