mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-01 16:08:30 +00:00
When TRACY_PORT is not pinned the client probes 8086..8105 at startup. Reserve the first free port up front and hand the already-bound socket to the client via SetReservedListenSocket, so the reservation is atomic and the reported port matches what the client listens on. A pinned TRACY_PORT is validated like --port, since the client pins to any nonzero value with no fallback.