[zeromq-dev] router-to-router pattern: how to ensure peer is ready

Pieter Hintjens ph at imatix.com
Thu Oct 11 11:03:14 CEST 2012


On Thu, Oct 11, 2012 at 1:12 AM, Kah-Chan Low <kahchanlow at yahoo.com> wrote:

> I am a newbie to ZMQ and in my project I need to use a router-to-router
> (instead of router-to-dealer) pattern.

Right there, you're doing it wrong.

Don't try doing router-router, it is a non starter. Instead do
dealer-router where dealer is "client" and router is "server" and then
double up this so each node plays client and server.

-Pieter



More information about the zeromq-dev mailing list