diff --git a/profiler/src/ResolvService.cpp b/profiler/src/ResolvService.cpp index fd1d15fe..42efee7a 100644 --- a/profiler/src/ResolvService.cpp +++ b/profiler/src/ResolvService.cpp @@ -33,7 +33,7 @@ void ResolvService::Worker() { struct sockaddr_in addr = {}; addr.sin_family = AF_INET; - addr.sin_port = m_port; + addr.sin_port = htons( m_port ); char buf[128];