From 65ac51373b7e6a2e2bf4e8131acfda32c0708034 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 9 Nov 2011 11:45:01 +0200 Subject: udp: Allow specifying the local IP address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is useful if sending multicast data on a host with multiple interfaces. Signed-off-by: Martin Storsjö --- doc/protocols.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/protocols.texi') diff --git a/doc/protocols.texi b/doc/protocols.texi index 8aee5f639c..f06546c6c1 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -446,6 +446,11 @@ set the UDP buffer size in bytes @item localport=@var{port} override the local UDP port to bind with +@item localaddr=@var{addr} +Choose the local IP address. This is useful e.g. if sending multicast +and the host has multiple interfaces, where the user can choose +which interface to send on by specifying the IP address of that interface. + @item pkt_size=@var{size} set the size in bytes of UDP packets -- cgit v1.2.3