summaryrefslogtreecommitdiff
path: root/bus/dbus-daemon.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dbus-daemon.1.in')
-rw-r--r--bus/dbus-daemon.1.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in
index 5c846836..acee933a 100644
--- a/bus/dbus-daemon.1.in
+++ b/bus/dbus-daemon.1.in
@@ -211,12 +211,23 @@ a transport name plus possible parameters/options.
Example: <listen>unix:path=/tmp/foo</listen>
.PP
+Example: <listen>tcp:host=localhost,port=1234</listen>
+
+.PP
If there are multiple <listen> elements, then the bus listens
on multiple addresses. The bus will pass its address to
started services or other interested parties with
the last address given in <listen> first. That is,
apps will try to connect to the last <listen> address first.
+.PP
+A special case is using a port number of zero which means to
+pick up a random free port. The real used port number could be retrieved
+by using the --print-address command line parameter.
+
+.PP
+Example: <listen>tcp:host=localhost,port=0</listen>
+
.TP
.I "<auth>"