From 02d46a1464c3bcd69b0de046c21146ccc6bf10c4 Mon Sep 17 00:00:00 2001 From: Edwin Fine Date: Sun, 9 Feb 2014 13:27:50 -0500 Subject: 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. --- lib/eldap/doc/src/eldap.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/eldap/doc') 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, Open a connection to an LDAP server. Handle = handle() - Option = {port, integer()} | {log, function()} | {timeout, integer()} | {ssl, boolean()} | {sslopts, list()} + Option = {port, integer()} | {log, function()} | {timeout, integer()} | {ssl, boolean()} | {sslopts, list()} | {tcpopts, list()}

Setup a connection to an LDAP server, the HOST's are tried in order.

The log function takes three arguments, fun(Level, FormatString, [FormatArg]) end.

Timeout set the maximum time in milliseconds that each server request may take.

+

Currently, the only TCP socket option accepted is inet6. Default is inet.

-- cgit v1.2.3