From 5d0cffc52f575ff572751cc85fd43063391a211d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 15 May 2011 18:25:43 +0200 Subject: ZMQ_MULTICAST_HOPS socket option added Sets the time-to-live field in every multicast packet sent from the socket. Signed-off-by: Martin Sustrik --- src/options.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/options.hpp') diff --git a/src/options.hpp b/src/options.hpp index 9ba06e3..53d0197 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -48,6 +48,9 @@ namespace zmq // Reliability time interval [ms]. Default 10 seconds. int recovery_ivl; + // Sets the time-to-live field in every multicast packet sent. + int multicast_hops; + // SO_SNDBUF and SO_RCVBUF to be passed to underlying transport sockets. int sndbuf; int rcvbuf; -- cgit v1.2.3