[zeromq-dev] push/pull and multiple workers

andrea crotti andrea.crotti.0 at gmail.com
Fri Aug 17 14:32:03 CEST 2012


> You must match a connect with a bind. You cannot have 2 (or more) sockets
use zmq_connect to connect to each other. The socket(s) must have something
to connect *to* and that is only true when a socket has bound an address.
Again, this is just like regular sockets.
>
> cr
>
>

Thanks,
and now suppose that my system only has one publisher and many subscribers,
but sometimes I need to add a second publisher,
is it the moment I need to learn how to use router/dealers right?

I tried the stupid solution of connecting the second one instead of binding
but it's clearly not the solution..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120817/c8532387/attachment.htm>


More information about the zeromq-dev mailing list