From 2d56329c7b75f282fb70204a32dbd761f738f5b4 Mon Sep 17 00:00:00 2001 From: Marc Worrell Date: Sat, 27 Aug 2016 00:05:32 +0200 Subject: Add ipv6_v6only listen option --- doc/src/manual/ranch_tcp.asciidoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/src') diff --git a/doc/src/manual/ranch_tcp.asciidoc b/doc/src/manual/ranch_tcp.asciidoc index 1fc268d..6eb7fa3 100644 --- a/doc/src/manual/ranch_tcp.asciidoc +++ b/doc/src/manual/ranch_tcp.asciidoc @@ -30,6 +30,7 @@ opt() = {backlog, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address()} + | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} @@ -88,6 +89,8 @@ inet6:: Set up the socket for IPv6. ip:: Interface to listen on. Listen on all interfaces by default. +ipv6_v6only (false):: + Listen on IPv4 and IPv6 (false) or only on IPv6 (true). Use with inet6. keepalive (false):: Enable sending of keep-alive messages. linger ({false, 0}):: -- cgit v1.2.3