1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add support for TRACY_ONLY_IPV4 macro to exclude listening on IPv6

This commit is contained in:
Graydon Hoare
2020-08-27 08:17:55 -07:00
parent b5f76f2cea
commit 30a6a5cdd1
2 changed files with 18 additions and 12 deletions
+2
View File
@@ -427,6 +427,8 @@ By default Tracy client will announce its presence to the local network\footnote
By default Tracy client will listen on all network interfaces. If you want to restrict it to only listening on the localhost interface, define the \texttt{TRACY\_ONLY\_LOCALHOST} macro.
By default Tracy client will listen on IPv6 interfaces, falling back to IPv4 only if IPv6 is not available. If you want to restrict it to only listening on IPv4 interfaces, define the \texttt{TRACY\_ONLY\_IPV4} macro.
\subsubsection{Setup for multi-DLL projects}
In projects that consist of multiple DLLs/shared objects things are a bit different. Compiling \texttt{TracyClient.cpp} into every DLL is not an option because this would result in several instances of Tracy objects lying around in the process. We rather need to pass the instances of them to the different DLLs to be reused there.