[zeromq-dev] Specifying the multicast interface to use for PGM publish on a multi-homed system

Martin Sustrik sustrik at 250bpm.com
Wed Jan 4 22:26:42 CET 2012


Hi Ganga,

> How do we specify the network to use for the PGM publisher, when we are
> running on a multi-homed system?
>
> Looking through the zmq.h, the socket options do not have any way to
> specify the MULTICAST_IF.

The interface is part of the pgm address:

zmq_connect (s, "pgm://eth0;239.0.0.111;5555");

Martin



More information about the zeromq-dev mailing list