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

Kundu Gangadharan gangadharan.kv at gmail.com
Wed Jan 4 21:58:20 CET 2012


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.

/*  Socket options.
  */
#define ZMQ_HWM 1
#define ZMQ_SWAP 3
#define ZMQ_AFFINITY 4
#define ZMQ_IDENTITY 5
#define ZMQ_SUBSCRIBE 6
#define ZMQ_UNSUBSCRIBE 7
#define ZMQ_RATE 8
#define ZMQ_RECOVERY_IVL 9
#define ZMQ_MCAST_LOOP 10
#define ZMQ_SNDBUF 11
#define ZMQ_RCVBUF 12
#define ZMQ_RCVMORE 13
#define ZMQ_FD 14
#define ZMQ_EVENTS 15
#define ZMQ_TYPE 16
#define ZMQ_LINGER 17
#define ZMQ_RECONNECT_IVL 18
#define ZMQ_BACKLOG 19
#define ZMQ_RECOVERY_IVL_MSEC 20   /*  opt. recovery time, reconcile in 3.x
  */
#define ZMQ_RECONNECT_IVL_MAX 21

/*  Send/recv options.
   */
#define ZMQ_NOBLOCK 1
#define ZMQ_SNDMORE 2

Thx
Ganga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120104/ff378cf1/attachment.htm>


More information about the zeromq-dev mailing list