aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/ranch_tcp.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/ranch_tcp.asciidoc')
-rw-r--r--doc/src/manual/ranch_tcp.asciidoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/manual/ranch_tcp.asciidoc b/doc/src/manual/ranch_tcp.asciidoc
index d01b262..bee73a7 100644
--- a/doc/src/manual/ranch_tcp.asciidoc
+++ b/doc/src/manual/ranch_tcp.asciidoc
@@ -32,7 +32,7 @@ opt() = {backlog, non_neg_integer()}
| {high_watermark, non_neg_integer()}
| inet
| inet6
- | {ip, inet:ip_address()}
+ | {ip, inet:ip_address() | inet:local_address()}
| {ipv6_v6only, boolean()}
| {keepalive, boolean()}
| {linger, {boolean(), non_neg_integer()}}
@@ -108,7 +108,10 @@ Set up the socket for IPv6.
ip::
-Interface to listen on. Listen on all interfaces by default.
+Interface to listen on. Listen on all network interfaces by default.
+
+On UNIX systems, it is also possible to use a UNIX Domain
+socket file by specifying `{local, SocketFile}`.
ipv6_v6only (false)::