[zeromq-dev] Does ZMQ "Over Send" Using OpenPGM

Martin Sustrik sustrik at 250bpm.com
Wed Oct 20 18:07:19 CEST 2010


>     Hm, I have probably misunderstood how PGM is supposed to work. Are
>     you saying that when you subscribe to port 11111 on *whatever*
>     multicast group you are going to receive *all* the packets on *all*
>     the multicast groups which happen to have port number set to 11111?
>
>
> If they get to the node, then yes.  This also includes broadcast
> packets.  It's the wonders of bind (INADDR_ANY).

Ok. So as far as I understand it makes no sense to use PGM with multiple 
multicast groups. You should choose *one* multicast group and pass all 
the traffic on that multicast group, distinguishing different feeds only 
by port number.

If you fail to do so, you'll get random unexpected behaviour, such as 
the one Bob have experienced.

Am I right?

Martin




More information about the zeromq-dev mailing list