summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-09 11:45:01 +0200
committerMartin Storsjö <martin@martin.st>2011-11-09 20:19:39 +0200
commit65ac51373b7e6a2e2bf4e8131acfda32c0708034 (patch)
treee766b2afb9051ea464a8fd220dbc231ec1eeb591 /doc/protocols.texi
parentc33d4916fba4e81a520b0a579cfb5c3b7c7cf9c7 (diff)
udp: Allow specifying the local IP address
This is useful if sending multicast data on a host with multiple interfaces. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi5
1 files changed, 5 insertions, 0 deletions
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