aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-20 20:52:49 +0200
committerMax Kellermann <max@duempel.org>2011-09-20 21:15:22 +0200
commita3f7947ad2e987aaa06a81fe564871448aeb12d2 (patch)
treefc7b5b33a2e9fee14e79ed67ef28947ecd423fc2 /doc
parent7d9d459ac2c71e0b3598ed0f606cd2d550853838 (diff)
server_socket: use resolve_host_port() instead of getaddrinfo()
Allow port specification in "bind_to_address" settings.
Diffstat (limited to 'doc')
-rw-r--r--doc/mpd.conf.54
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index af65e114..bd890228 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -83,6 +83,10 @@ This specifies which address mpd binds to and listens on. Multiple
bind_to_address parameters may be specified. The default is "any", which binds
to all available addresses.
+You can set a port that is different from the global port setting,
+e.g. "localhost:6602". IPv6 addresses must be enclosed in square
+brackets if you want to configure a port, e.g. "[::1]:6602".
+
To bind to a Unix domain socket, specify an absolute path. For a
system-wide MPD, we suggest the path "\fB/var/run/mpd/socket\fP".
.TP