aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/gen_tcp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/doc/src/gen_tcp.xml')
-rw-r--r--lib/kernel/doc/src/gen_tcp.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/kernel/doc/src/gen_tcp.xml b/lib/kernel/doc/src/gen_tcp.xml
index e4f1cf7612..869e305690 100644
--- a/lib/kernel/doc/src/gen_tcp.xml
+++ b/lib/kernel/doc/src/gen_tcp.xml
@@ -102,6 +102,12 @@ do_recv(Sock, Bs) ->
specifies which one to use.</p>
</item>
+ <tag><c>{ifaddr, ip_address()}</c></tag>
+ <item>
+ <p>Same as <c>{ip, ip_address()}</c>. If the host has several network interfaces, this option
+ specifies which one to use.</p>
+ </item>
+
<tag><c>{fd, integer() >= 0}</c></tag>
<item>
<p>If a socket has somehow been connected without using
@@ -109,10 +115,6 @@ do_recv(Sock, Bs) ->
descriptor for it.</p>
</item>
- <tag><c>{ifaddr, ip_address()}</c></tag>
- <item> <p>TODO: Document</p>
- </item>
-
<tag><c>inet</c></tag>
<item>
<p>Set up the socket for IPv4.</p>
@@ -207,7 +209,9 @@ do_recv(Sock, Bs) ->
</item>
<tag><c>{ifaddr, ip_address()}</c></tag>
- <item> <p>TODO: Document</p>
+ <item>
+ <p>Same as <c>{ip, ip_address()}</c>. If the host has several network interfaces, this option
+ specifies which one to use.</p>
</item>
<tag><c>inet6</c></tag>