[zeromq-dev] [PATCH] ZMQ_MULTICAST_HOPS socket option added

Martin Sustrik sustrik at 250bpm.com
Sun May 15 20:44:08 CEST 2011

On 05/15/2011 08:23 PM, Steven McCoy wrote:

> You already have hops set on line 329 of pgm_socket.cpp, so the patch
> can be smaller.  The default in ZeroMQ is 16, not 1, for Cisco hardware
> performance workarounds, expiring packets on TTL is apparently expensive
> for some routers.
> -                  multicast_hops   = 16,
> +                  multicast_hops   = (int) options.multicast_hops,
> The order of socket options is odd because of the different socket
> levels and follows Stevens' style.

Good catch. I'll fix the patch accordingly.


More information about the zeromq-dev mailing list