[zeromq-dev] Beginner question: What should I do given there's no "timeout" on recv?
Pieter Hintjens
ph at imatix.com
Sat Aug 28 22:13:10 CEST 2010
Hi Naveen,
See this section: http://www.zeromq.org/docs:user-guide#toc18
Note the zmq_poll example uses a timeout of -1 (infinite) but you can
use a value that works for you. Read the zmq_poll man page.
http://api.zeromq.org/zmq_poll.html
-Pieter
On Sat, Aug 28, 2010 at 9:29 PM, Naveen Chawla <naveen.chwl at gmail.com> wrote:
> I can't see a timeout example in there. Can you show me (for simple REQ/REP)?
>
> On 28 August 2010 14:04, Martin Sustrik <sustrik at 250bpm.com> wrote:
>> On 08/28/2010 03:03 PM, Naveen Chawla wrote:
>>>
>>> Awesome. Is there a source code tutorial for a stupid beginner like me?
>>
>> What about this:
>>
>> http://www.zeromq.org/docs:user-guide
>>
>> Martin
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
-
Pieter Hintjens
iMatix - www.imatix.com
More information about the zeromq-dev
mailing list