From 60905b80d4a2c7c5fd0e71ac3a0e9285f18c5e7d Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 17 Dec 2010 13:04:23 +0100 Subject: [PATCH] multicast manual updates * doc/ref/posix.texi (Network Sockets and Communication): Add IP_MULTICAST_TTL and IP_MULTICAST_IF docs, from the docstring. * NEWS: Update. --- NEWS | 5 +++-- doc/ref/posix.texi | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index cd1e5b928..71dd8a41d 100644 --- a/NEWS +++ b/NEWS @@ -75,8 +75,9 @@ macros like `quote' are printed better. ** Multicast socket options -FIXME: Need to document IP_MULTICAST_TTL and IP_MULTICAST_IF in the -manual. +Support was added for the IP_MULTICAST_TTL and IP_MULTICAST_IF socket +options. See "Network Sockets and Communication" in the manual, for +more information. ** Deprecate `cuserid' diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index dc9d77b3e..468eaea8f 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -3045,6 +3045,16 @@ For IP level (@code{IPPROTO_IP}) the following @var{optname}s are defined (when provided by the system). See @command{man ip} for what they mean. +@defvar IP_MULTICAST_IF +This sets the source interface used by multicast traffic. +@end defvar + +@defvar IP_MULTICAST_TTL +This sets the default TTL for multicast traffic. This defaults +to 1 and should be increased to allow traffic to pass beyond the +local network. +@end defvar + @defvar IP_ADD_MEMBERSHIP @defvarx IP_DROP_MEMBERSHIP These can be used only with @code{setsockopt}, not @code{getsockopt}.