From aa5259b20ac53c1914064030cd92c346181c1b53 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 18 Jun 2019 20:28:03 +0200 Subject: [PATCH] Use the same port (8086) for both TCP and UDP traffic. --- client/TracyProfiler.cpp | 4 ++-- profiler/src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 4e302058..763e21d9 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1108,7 +1108,7 @@ void Profiler::Worker() #ifndef TRACY_NO_BROADCAST m_broadcast = (UdpBroadcast*)tracy_malloc( sizeof( UdpBroadcast ) ); new(m_broadcast) UdpBroadcast(); - if( !m_broadcast->Open( "255.255.255.255", "8087" ) ) + if( !m_broadcast->Open( "255.255.255.255", "8086" ) ) { m_broadcast->~UdpBroadcast(); tracy_free( m_broadcast ); @@ -1147,7 +1147,7 @@ void Profiler::Worker() if( t - lastBroadcast > 3000000000 ) // 3s { lastBroadcast = t; - m_broadcast->Send( 8087, &broadcastMsg, broadcastLen ); + m_broadcast->Send( 8086, &broadcastMsg, broadcastLen ); } } } diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 1516d812..e238873f 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -283,7 +283,7 @@ int main( int argc, char** argv ) if( !broadcastListen ) { broadcastListen = new tracy::UdpListen(); - if( !broadcastListen->Listen( 8087 ) ) + if( !broadcastListen->Listen( 8086 ) ) { delete broadcastListen; broadcastListen = nullptr;