[zeromq-dev] Java ZMQ.REP Service Example is in Error

Balázs Varga bb.varga at gmail.com
Mon Sep 10 14:58:16 CEST 2012

Hello Will,

On Mon, Sep 10, 2012 at 6:42 AM, Will Heger <will.heger at gmail.com> wrote:
> In the ZMQ service example (http://zguide.zeromq.org/java:rrserver), it shows:
> responder.connect("tcp://localhost:5560");
> I am new to ZMQ, but after 3 days of banging my head against the wall,
> I believe the line should read:
> responder.bind("tcp://localhost:5560");

No, the connect is good. This example has 3 files, a client (rrclient)
, a broker (rrbroker), and a server (rrserver), the client doesn't
connect to the server directly, it connects to the broker, and the
bind is on the broker side.


> This might be obvious to a ZMQster, but to a noob it's a deadly waste
> of time.  I don't know if site examples are handled through pull
> requests and maybe I'm still mistaken, so I'm just raising this to the
> list as-is.
> Best regards,
> -Will
> _______________________________________________
> 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