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

Pavol Malosek malosek at fastmq.com
Thu Sep 3 11:34:10 CEST 2009


In recent commit 276c82f libpgm has been updated to version 1.2.14 which
SO_REUSEADDR for UDP sockets by default.

Thank you for all the feedback!


----- Original Message -----
From: "Robert Zhang" <robert at scout-trading.com>
To: "Steven McCoy" <steven.mccoy at miru.hk>; <zeromq-dev at lists.zeromq.org>
Sent: Friday, August 28, 2009 4:45 AM
Subject: Re: [zeromq-dev] multiple udp sender/receiver on same machine

> 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>
> > 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.
> >

More information about the zeromq-dev mailing list