AH! And I see from the rrbroker that .bind() is what you want when you're listening.
Well, facepalm, but at least it's on the list in case someone else stumbles as I did. Thanks Balázs, -Will On Mon, Sep 10, 2012 at 8:58 AM, Balázs Varga <[email protected]> wrote: > Hello Will, > > On Mon, Sep 10, 2012 at 6:42 AM, Will Heger <[email protected]> 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. > > Balazs, > >> >> 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 >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
