summaryrefslogtreecommitdiff
path: root/include/zmq.h
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-05-15 18:25:43 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-05-15 18:25:43 +0200
commit5d0cffc52f575ff572751cc85fd43063391a211d (patch)
tree2f61c1e0f6060fc756feefef11fcafa1c168d16f /include/zmq.h
parent49df2f416cd43e9e18f3dbd964271c5cca835729 (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 'include/zmq.h')
-rw-r--r--include/zmq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index 2d01e24..40dffd9 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -179,6 +179,7 @@ ZMQ_EXPORT int zmq_term (void *context);
#define ZMQ_MAXMSGSIZE 22
#define ZMQ_SNDHWM 23
#define ZMQ_RCVHWM 24
+#define ZMQ_MULTICAST_HOPS 25
/* Send/recv options. */
#define ZMQ_DONTWAIT 1