From 57c50be011a5005639d2be38f1c9f538d9f00f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Fri, 13 Apr 2012 17:38:14 +0200 Subject: kernel: Document ifaddr option * same as ip option --- lib/kernel/doc/src/gen_tcp.xml | 14 +++++++++----- lib/kernel/doc/src/gen_udp.xml | 8 ++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'lib/kernel/doc/src') 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.

+ {ifaddr, ip_address()} + +

Same as {ip, ip_address()}. If the host has several network interfaces, this option + specifies which one to use.

+
+ {fd, integer() >= 0}

If a socket has somehow been connected without using @@ -109,10 +115,6 @@ do_recv(Sock, Bs) -> descriptor for it.

- {ifaddr, ip_address()} -

TODO: Document

-
- inet

Set up the socket for IPv4.

@@ -207,7 +209,9 @@ do_recv(Sock, Bs) ->
{ifaddr, ip_address()} -

TODO: Document

+ +

Same as {ip, ip_address()}. If the host has several network interfaces, this option + specifies which one to use.

inet6 diff --git a/lib/kernel/doc/src/gen_udp.xml b/lib/kernel/doc/src/gen_udp.xml index 7cf8a6da4c..77e6182884 100644 --- a/lib/kernel/doc/src/gen_udp.xml +++ b/lib/kernel/doc/src/gen_udp.xml @@ -72,6 +72,14 @@

If the host has several network interfaces, this option specifies which one to use.

+ + {ifaddr, ip_address()} + +

Same as {ip, ip_address()}. If the host has several network interfaces, this option + specifies which one to use.

+
+ + {fd, integer() >= 0}

If a socket has somehow been opened without using -- cgit v1.2.3