From 17a4080713c423af9e5feb37ea9ca79d550ec6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Four=C3=A9?= Date: Mon, 31 Aug 2026 09:58:26 +0200 Subject: [PATCH] Documented the TracyPort macro in the manual. --- manual/tracy.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manual/tracy.tex b/manual/tracy.tex index c13d4250..007d8fab 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -804,6 +804,8 @@ Suppose for some reason you want to use another port\footnote{For example, other If a custom port is not specified and the default listening port is already occupied, the profiler will automatically try to listen on a number of other ports. +Since the port in use may differ from the default one, the client application may query the actual data connection port using the \texttt{TracyPort} macro. It returns the port number once the listening socket has been bound, or zero otherwise. + \begin{bclogo}[ noborder=true, couleur=black!5,