[zeromq-dev] Beginner question: What should I do given there's no "timeout" on recv?

Naveen Chawla naveen.chwl at gmail.com
Sat Aug 28 14:41:27 CEST 2010

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).

More information about the zeromq-dev mailing list