summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Elias Naur2022-03-29 11:24:11 +0200
committerGravatar Nikias Bassen2022-03-29 11:24:11 +0200
commitb83bc867e61333b61d2f3366e6daa3f6f988074f (patch)
tree360f58298f465344e698e060da7d60f92d9814f8 /docs
parent8e08d874e157e44bb94c99608fb1c5853631b6b4 (diff)
downloadlibimobiledevice-b83bc867e61333b61d2f3366e6daa3f6f988074f.tar.gz
libimobiledevice-b83bc867e61333b61d2f3366e6daa3f6f988074f.tar.bz2
idevicedebugserverproxy: Allow binding to any available port
To eliminate crosstalk between multiple proxies and their clients, add support for binding to any free port provided by the OS to idevicedebugserverproxy. To bind to any port, leave out the port argument to idevicedebugserverproxy. In that case, the proxy will print out a line with the port so clients can connect to it. This is useful for a CI macOS host with multiple iDevices connected, and where many independent tests each want their own proxy instance connected to a particular device.
Diffstat (limited to 'docs')
-rw-r--r--docs/idevicedebugserverproxy.13
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/idevicedebugserverproxy.1 b/docs/idevicedebugserverproxy.1
index 37502eb..248c694 100644
--- a/docs/idevicedebugserverproxy.1
+++ b/docs/idevicedebugserverproxy.1
@@ -3,7 +3,7 @@
idevicedebugserverproxy \- Remote debugging proxy.
.SH SYNOPSIS
.B idevicedebugserverproxy
-[OPTIONS] PORT
+[OPTIONS] [PORT]
.SH DESCRIPTION
@@ -35,6 +35,7 @@ prints version information.
.TP
.B PORT
The port under which the proxy should listen for connections from clients.
+If omitted, the next available port will be used and printed to stdout.
.SH AUTHORS
Martin Szulecki