[zeromq-dev] multiple udp sender/receiver on same machine bug fix

Robert Zhang robert at scout-trading.com
Fri Aug 28 04:45:22 CEST 2009


Another proposed change:
The call to pgm_transport_set_multicast_loop accomplishes 2 things:
enable SO_REUSEADDR and also enable multicast loopback. I think most
clients would want these set to TRUE by default. This way, sender and
multiple receivers can co-exist on the same machine. (multicast
loopback is enabled by default on unix socket API)
So the code change would be to always call
pgm_transport_set_multicast_loop regardless of udp_encapsulation and
weather we are sender or receiver.

Robert

On Wed, Aug 26, 2009 at 11:01 PM, Steven McCoy<steven.mccoy at miru.hk> wrote:
> 2009/8/27 Robert Zhang <robert at scout-trading.com>:
>> I would like to submit a bug fix for the multiple udp sender/receiver
>> on same machine issue referenced here:
>> http://lists.zeromq.org/pipermail/zeromq-dev/2009-August/001116.html
>>
>
> I just released a version 1.2.14 of OpenPGM with IP/UDP sockets
> defaulting to SO_REUSEADDR to match the functionality of IP/PGM.
>
> --
> Steve-o
>



-- 
Robert Zhang
Scout Trading
(917) 270-4308



More information about the zeromq-dev mailing list