aboutsummaryrefslogtreecommitdiff
path: root/docs/udp.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/udp.html')
-rw-r--r--docs/udp.html45
1 files changed, 41 insertions, 4 deletions
diff --git a/docs/udp.html b/docs/udp.html
index 99613b8..8d807a4 100644
--- a/docs/udp.html
+++ b/docs/udp.html
@@ -80,13 +80,18 @@ description of the option names and values.
80<li> '<tt>dontroute</tt>'</li> 80<li> '<tt>dontroute</tt>'</li>
81<li> '<tt>broadcast</tt>'</li> 81<li> '<tt>broadcast</tt>'</li>
82<li> '<tt>reuseaddr</tt>'</li> 82<li> '<tt>reuseaddr</tt>'</li>
83<li> '<tt>exclusiveaddruse</tt>'</li>
83<li> '<tt>reuseport</tt>'</li> 84<li> '<tt>reuseport</tt>'</li>
84<li> '<tt>ip-multicast-loop</tt>'</li> 85<li> '<tt>ip-multicast-loop</tt>'</li>
85<li> '<tt>ipv6-v6only</tt>'</li> 86<li> '<tt>ipv6-v6only</tt>'</li>
87<li> '<tt>ipv6-unicast-hops</tt>'</li>
88<li> '<tt>ipv6-multicast-hops</tt>'</li>
89<li> '<tt>ipv6-multicast-loop</tt>'</li>
86<li> '<tt>ip-multicast-if</tt>'</li> 90<li> '<tt>ip-multicast-if</tt>'</li>
87<li> '<tt>ip-multicast-ttl</tt>'</li> 91<li> '<tt>error</tt>': Returns the socket's pending error status, if
88<li> '<tt>ip-add-membership</tt>'</li> 92any, and clears it. Get-only.</li>
89<li> '<tt>ip-drop-membership</tt>'</li> 93<li> '<tt>recv-buffer-size</tt>'</li>
94<li> '<tt>send-buffer-size</tt>'</li>
90</ul> 95</ul>
91</p> 96</p>
92 97
@@ -294,6 +299,10 @@ Receives a boolean value;</li>
294validating addresses supplied in a <tt>bind()</tt> call 299validating addresses supplied in a <tt>bind()</tt> call
295should allow reuse of local addresses. 300should allow reuse of local addresses.
296Receives a boolean value;</li> 301Receives a boolean value;</li>
302<li> '<tt>exclusiveaddruse</tt>': Setting this option to <tt>true</tt>
303prevents other sockets from binding to the same address and port, even
304if those sockets set '<tt>reuseaddr</tt>'.
305Receives a boolean value. Windows only!!</li>
297<li> '<tt>reuseport</tt>': Allows completely duplicate 306<li> '<tt>reuseport</tt>': Allows completely duplicate
298bindings by multiple processes if they all set 307bindings by multiple processes if they all set
299'<tt>reuseport</tt>' before binding the port. 308'<tt>reuseport</tt>' before binding the port.
@@ -307,6 +316,28 @@ Receives a boolean value;</li>
307Specifies whether to restrict <tt>inet6</tt> sockets to 316Specifies whether to restrict <tt>inet6</tt> sockets to
308sending and receiving only IPv6 packets. 317sending and receiving only IPv6 packets.
309Receive a boolean value;</li> 318Receive a boolean value;</li>
319<li> '<tt>ipv6-unicast-hops</tt>':
320Sets the unicast hop limit (the IPv6 equivalent of the IPv4 TTL)
321for outgoing packets.
322Receives a number;</li>
323<li> '<tt>ipv6-multicast-hops</tt>':
324Sets the hop limit for outgoing IPv6 multicast datagrams.
325Receives a number;</li>
326<li> '<tt>ipv6-multicast-loop</tt>':
327Specifies whether or not a copy of an outgoing IPv6 multicast
328datagram is delivered to the sending host as long as it is a
329member of the multicast group.
330Receives a boolean value;</li>
331<li> '<tt>ipv6-add-membership</tt>':
332Joins the IPv6 multicast group specified.
333Receives a table with field
334<tt>multiaddr</tt>, an IPv6 address, and optionally
335<tt>interface</tt>, a network interface index number;</li>
336<li> '<tt>ipv6-drop-membership</tt>': Leaves the IPv6 multicast
337group specified.
338Receives a table with field
339<tt>multiaddr</tt>, an IPv6 address, and optionally
340<tt>interface</tt>, a network interface index number;</li>
310<li> '<tt>ip-multicast-if</tt>': 341<li> '<tt>ip-multicast-if</tt>':
311Sets the interface over which outgoing multicast datagrams 342Sets the interface over which outgoing multicast datagrams
312are sent. 343are sent.
@@ -324,7 +355,13 @@ IP address;</li>
324group specified. 355group specified.
325Receives a table with fields 356Receives a table with fields
326<tt>multiaddr</tt> and <tt>interface</tt>, each containing an 357<tt>multiaddr</tt> and <tt>interface</tt>, each containing an
327IP address.</li> 358IP address;</li>
359<li> '<tt>recv-buffer-size</tt>': Sets the size, in bytes, of the
360socket's receive buffer (<tt>SO_RCVBUF</tt>).
361Receives a number;</li>
362<li> '<tt>send-buffer-size</tt>': Sets the size, in bytes, of the
363socket's send buffer (<tt>SO_SNDBUF</tt>).
364Receives a number.</li>
328</ul> 365</ul>
329 366
330<p class="return"> 367<p class="return">