summaryrefslogtreecommitdiff
path: root/doc/lispref/processes.texi
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2019-09-24 13:52:48 +0200
committerRobert Pluim <rpluim@gmail.com>2019-09-24 14:45:15 +0200
commit9dcdb1384df51a568af5ec35c9f0a762d3cf205b (patch)
treee699af4ae31735292a7327c74990d8257887e333 /doc/lispref/processes.texi
parentbc5472a4ee4f139439f22dddd2339ce1d907da45 (diff)
downloademacs-9dcdb1384df51a568af5ec35c9f0a762d3cf205b.tar.gz
Document how to listen on all interfaces in the Elisp manual
* doc/lispref/processes.texi (Network Processes): Explain how to listen on all interfaces.
Diffstat (limited to 'doc/lispref/processes.texi')
-rw-r--r--doc/lispref/processes.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 2ba5b1c893a..287221a184d 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -2685,7 +2685,11 @@ the local host. If you specify @var{host} for a server, it must
specify a valid address for the local host, and only clients
connecting to that address will be accepted. When using @code{local},
by default IPv4 will be used, specify a @var{family} of @code{ipv6} to
-override this.
+override this. To listen on all interfaces, specify an address of
+@samp{"0.0.0.0"} for IPv4 or @samp{"::"} for IPv6. Note that on some
+operating systems, listening on @samp{"::"} will also listen on IPv4,
+so attempting to then listen separately on IPv4 will result in
+@code{EADDRINUSE} errors (@samp{"Address already in use"}).
@item :service @var{service}
@var{service} specifies a port number to connect to; or, for a server,