From b83bc867e61333b61d2f3366e6daa3f6f988074f Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 29 Mar 2022 11:24:11 +0200 Subject: 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. --- docs/idevicedebugserverproxy.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.1-32-gdbae