diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 18:25:43 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 18:25:43 +0200 |
commit | 5d0cffc52f575ff572751cc85fd43063391a211d (patch) | |
tree | 2f61c1e0f6060fc756feefef11fcafa1c168d16f /src/options.hpp | |
parent | 49df2f416cd43e9e18f3dbd964271c5cca835729 (diff) |
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 <sustrik@250bpm.com>
Diffstat (limited to 'src/options.hpp')
-rw-r--r-- | src/options.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |