Hi Pieter,
Just to make sure I get it right, do you mean that each node should have two
sockets: 1 router(server) and 1 dealer(client)?
Thanks!
KC
________________________________
From: Pieter Hintjens <[email protected]>
To: Kah-Chan Low <[email protected]>; ZeroMQ development list
<[email protected]>
Sent: Thursday, October 11, 2012 5:03 AM
Subject: Re: [zeromq-dev] router-to-router pattern: how to ensure peer is ready
On Thu, Oct 11, 2012 at 1:12 AM, Kah-Chan Low <[email protected]> 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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev