[zeromq-dev] Newbie Question: php-zmq and the "Divide and Conquer" Example - "Failed to bind the ZMQ: Address already in use"

Kermode Bear kermodebear at gmail.com
Wed Jan 5 16:00:09 CET 2011


> Should you be binding 5557 in both apps, or should one bind and the
> other connect?

One should bind, and the others should connect. This is the mistake
that I was making when I was trying to port the applications written
in C to PHP. I didn't notice that the workers were connecting and the
vent and sink were binding.

Now that I have fixed my brain, I must say that I am really enjoying
playing with ZeroMQ so far. It makes communication effortless. Have
you ever discovered something and thought: "This is what I have always
wanted, but I never knew! Now I'm in love." It's a lot like that.



More information about the zeromq-dev mailing list