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 --- doc/zmq_setsockopt.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/zmq_setsockopt.txt') diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index f5c873e..ed3b3a7 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -296,6 +296,18 @@ Option value unit:: bytes Default value:: -1 Applicable socket types:: all +ZMQ_MULTICAST_HOPS: Maximum network hops for multicast packets +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Sets the time-to-live field in every multicast packet sent from this socket. +The default is 1 which means that the multicast packets don't leave the local +network. + +[horizontal] +Option value type:: int +Option value unit:: network hops +Default value:: 1 +Applicable socket types:: all, when using multicast transports RETURN VALUE ------------ -- cgit v1.2.3