summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2007-06-08 20:43:35 +0000
committerHavoc Pennington <hp@redhat.com>2007-06-08 20:43:35 +0000
commit1bd4ecc1256f38d7ab0da736434d46762507348b (patch)
treef75bb5a6fe052c261c42e4b42f574dd4e2f4be92 /bus
parenta579e3b0453dec7b87f15b0021b6ef9d819a12bf (diff)
2007-06-08 Havoc Pennington <hp@redhat.com>
* backport fix to allow a server to use port=0 or omit port so the port can be auto-selected by the OS
Diffstat (limited to 'bus')
-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>"