[zeromq-dev] DEALER detection of no ROUTER

Pieter Hintjens ph at imatix.com
Thu May 2 15:36:49 CEST 2013


You will need to send a message and wait for a reply. There's no other
way to do this. In any case since connections happen in the background
you would want some kind of event to arrive in your app telling you
the connection had succeeded, and the natural with 0MQ would be a
message.

-Pieter

On Thu, May 2, 2013 at 3:24 PM, Adam Covitch <adam.covitch at gmail.com> wrote:
> I have a simple test app where a dealer connects to a router. If the router
> is not reachable, is there any way for the dealer to detect this?
>
> I know that I could use a hadnshaking or ping/pong approach, but I'm looking
> for a cleaner solution, one that is build into ZeroMQ.
>
> Thanks!
> Adam
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list