[zeromq-dev] Publish / Subscribe vs Multicast
Martin Sustrik
sustrik at 250bpm.com
Tue Feb 16 08:42:05 CET 2010
Gonzalo,
> Sorry, I got mixed up. But what Brian mentions is what I meant by bind
> -> passive (listening and waiting), connect -> active (initiating).
>
> Now, within the context of my porting the butterfly example to ZMQ 2.0,
> I am doing it exactly this way: apps bind endpoints when they will
> listen for connections from somewhere else, and connect endpoints when
> they are initiating a connection. But I have not been able to have
> several instances of a program bind on the same endpoint and have all of
> them (round-robin) receive the messages sent to that endpoint; only the
> first app to bind to that endpoint is receiving messages. Am I missing
> something?
Here's an example of how binds & connectio have to be done (see
attachement).
Does it help?
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: butterfly.png
Type: image/png
Size: 8760 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100216/dbf64927/attachment.png>
More information about the zeromq-dev
mailing list