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

Will Heger will.heger at gmail.com
Mon Sep 10 06:42:38 CEST 2012


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");

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



More information about the zeromq-dev mailing list