Awesome. Is there a source code tutorial for a stupid beginner like me?
On 28 August 2010 13:52, Martin Sustrik <[email protected]> wrote: > On 08/28/2010 02:41 PM, Naveen Chawla wrote: >> >> In REQ/REP, if there's no server, the calling application blocks forever, >> right? >> >> It's unacceptable of course, so briefly what are the ways around this? >> (e.g. I could have a dummy server always available and running that >> gives a guaranteed but delayed response to the request?) >> >> What's the best way? (I want either a reply or knowledge of "no >> server" before my client does anything more). > > Use zmq_poll to poll for the reply. There's a timout argument there. > > Martin > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
