mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't hardcode broadcast port.
This commit is contained in:
@@ -1152,7 +1152,7 @@ void Profiler::Worker()
|
||||
if( t - m_lastBroadcast > 5000000000 ) // 5s
|
||||
{
|
||||
m_lastBroadcast = t;
|
||||
m_broadcast->Send( broadcastMsg, broadcastLen );
|
||||
m_broadcast->Send( 8087, broadcastMsg, broadcastLen );
|
||||
auto err = WSAGetLastError();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user