summaryrefslogtreecommitdiff
path: root/lib/kernel/doc/src/net.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/doc/src/net.xml')
-rw-r--r--lib/kernel/doc/src/net.xml28
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/kernel/doc/src/net.xml b/lib/kernel/doc/src/net.xml
index d63df8e8ca..cb5b7050a6 100644
--- a/lib/kernel/doc/src/net.xml
+++ b/lib/kernel/doc/src/net.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2018</year><year>2020</year>
+ <year>2018</year><year>2022</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -33,13 +33,6 @@
<modulesummary>Network interface.</modulesummary>
<description>
<p>This module provides an API for the network interface.</p>
- <note>
- <p>There is currently <em>no</em> support for Windows. </p>
- </note>
- <note>
- <p>The content of this file is <em>only</em> valid if the system has
- been built with 'socket' (esock) support, which is the default. </p>
- </note>
</description>
<datatypes>
@@ -51,16 +44,21 @@
<desc>
<p>This type defines all addresses (and flags) associated with
the interface. </p>
- <p>Not all fields of this map has to be present.
- The flags field can be used to test for some of the fields.
- For example <c>broadaddr</c> will only be present if the
- <c>broadcast</c> flag is present in flags. </p>
+ <note>
+ <p>Not all fields of this map has to be present.
+ The flags field can be used to test for some of the fields.
+ For example <c>broadaddr</c> will only be present if the
+ <c>broadcast</c> flag is present in flags. </p>
+ </note>
</desc>
</datatype>
<datatype>
<name name="ifaddrs_flag"/>
</datatype>
<datatype>
+ <name name="ifaddrs_flags"/>
+ </datatype>
+ <datatype>
<name name="ifaddrs_filter"/>
<desc>
<taglist>
@@ -132,7 +130,7 @@
<func>
<name name="getnameinfo" arity="1" since="OTP 22.0"/>
<name name="getnameinfo" arity="2" since="OTP 22.0"/>
- <fsummary>Address-to-name transaltion.</fsummary>
+ <fsummary>Address-to-name translation.</fsummary>
<desc>
<p>Address-to-name translation in a protocol-independant manner.</p>
<p>This function is the inverse of
@@ -146,7 +144,7 @@
<name name="getaddrinfo" arity="2" clause_i="1" since="OTP 22.0"/>
<name name="getaddrinfo" arity="2" clause_i="2" since="OTP 22.0"/>
<name name="getaddrinfo" arity="2" clause_i="3" since="OTP 22.0"/>
- <fsummary>Network address and service transation.</fsummary>
+ <fsummary>Network address and service transaction.</fsummary>
<desc>
<p>Network address and service translation.</p>
<p>This function is the inverse of
@@ -169,7 +167,7 @@
possibly filtered according to <c>Filter</c>. </p>
<p>By default, a filter with the content:
<c>#{family => default, flags => any}</c> is used.
- This will return all interfaces with adresses in the
+ This will return all interfaces with addresses in the
<c>inet</c> and <c>inet6</c> families. </p>
</desc>
</func>