aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/gen_tcp.xml
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-04-13 15:17:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-04-16 15:03:35 +0200
commitd64479bcc536c64b15e0c9fa28ecb73bc7e385a4 (patch)
tree4c21bd1758c7f36610d1a9e44ec1d08cf7eb6a94 /lib/kernel/doc/src/gen_tcp.xml
parent50feb4016f66d3c31eadf53d46987cac57819639 (diff)
downloadotp-d64479bcc536c64b15e0c9fa28ecb73bc7e385a4.tar.gz
otp-d64479bcc536c64b15e0c9fa28ecb73bc7e385a4.tar.bz2
otp-d64479bcc536c64b15e0c9fa28ecb73bc7e385a4.zip
kernel: Document tcp-, udp- and sctp_module option
Diffstat (limited to 'lib/kernel/doc/src/gen_tcp.xml')
-rw-r--r--lib/kernel/doc/src/gen_tcp.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/gen_tcp.xml b/lib/kernel/doc/src/gen_tcp.xml
index 32a0f9b0d7..e4f1cf7612 100644
--- a/lib/kernel/doc/src/gen_tcp.xml
+++ b/lib/kernel/doc/src/gen_tcp.xml
@@ -129,7 +129,10 @@ do_recv(Sock, Bs) ->
</item>
<tag><c>{tcp_module, module()}</c></tag>
- <item> <p>TODO: Document</p>
+ <item> <p>
+ Override which callback module used. Defaults to
+ <c>inet_tcp</c> for IPv4 and <c>inet6_tcp</c> for IPv6.
+ </p>
</item>
<tag><c>Opt</c></tag>
@@ -202,6 +205,11 @@ do_recv(Sock, Bs) ->
<c>gen_tcp</c>, use this option to pass the file
descriptor for it.</p>
</item>
+
+ <tag><c>{ifaddr, ip_address()}</c></tag>
+ <item> <p>TODO: Document</p>
+ </item>
+
<tag><c>inet6</c></tag>
<item>
<p>Set up the socket for IPv6.</p>
@@ -210,6 +218,14 @@ do_recv(Sock, Bs) ->
<item>
<p>Set up the socket for IPv4.</p>
</item>
+
+ <tag><c>{tcp_module, module()}</c></tag>
+ <item> <p>
+ Override which callback module used. Defaults to
+ <c>inet_tcp</c> for IPv4 and <c>inet6_tcp</c> for IPv6.
+ </p>
+ </item>
+
<tag><c>Opt</c></tag>
<item>
<p>See