aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/doc/src
diff options
context:
space:
mode:
authorEdwin Fine <[email protected]>2014-02-09 13:27:50 -0500
committerEdwin Fine <[email protected]>2014-02-09 13:27:50 -0500
commit02d46a1464c3bcd69b0de046c21146ccc6bf10c4 (patch)
tree03b493c70a8e697f69dc3fb62d98e8300e7fee89 /lib/eldap/doc/src
parent0cbf6ec7444df2c0441debc6bcd5aba0bbc7104d (diff)
downloadotp-02d46a1464c3bcd69b0de046c21146ccc6bf10c4.tar.gz
otp-02d46a1464c3bcd69b0de046c21146ccc6bf10c4.tar.bz2
otp-02d46a1464c3bcd69b0de046c21146ccc6bf10c4.zip
Add support for IPv6 connections
Currently, eldap assumes that only IPv4 will be used. This change enables callers to use IPv6 by including the [inet6] option in the eldap:open/2 options list. This adds inet6 to the gen_tcp or ssl connect. For backward compatibility, [inet] is the default if inet6 is omitted.
Diffstat (limited to 'lib/eldap/doc/src')
-rw-r--r--lib/eldap/doc/src/eldap.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eldap/doc/src/eldap.xml b/lib/eldap/doc/src/eldap.xml
index 228d3b34c3..8009a8d6a3 100644
--- a/lib/eldap/doc/src/eldap.xml
+++ b/lib/eldap/doc/src/eldap.xml
@@ -69,12 +69,13 @@ filter() See present/1, substrings/2,
<fsummary>Open a connection to an LDAP server.</fsummary>
<type>
<v>Handle = handle()</v>
- <v>Option = {port, integer()} | {log, function()} | {timeout, integer()} | {ssl, boolean()} | {sslopts, list()}</v>
+ <v>Option = {port, integer()} | {log, function()} | {timeout, integer()} | {ssl, boolean()} | {sslopts, list()} | {tcpopts, list()}</v>
</type>
<desc>
<p>Setup a connection to an LDAP server, the <c>HOST</c>'s are tried in order.</p>
<p>The log function takes three arguments, <c>fun(Level, FormatString, [FormatArg]) end</c>.</p>
<p>Timeout set the maximum time in milliseconds that each server request may take.</p>
+ <p>Currently, the only TCP socket option accepted is <c>inet6</c>. Default is <c>inet</c>.</p>
</desc>
</func>
<func>