diff --git a/src/tools/hexnet.cpp b/src/tools/hexnet.cpp index aed8710..af64d68 100644 --- a/src/tools/hexnet.cpp +++ b/src/tools/hexnet.cpp @@ -254,8 +254,8 @@ int main(int argc, char* argv[]){ return EXIT_RUNTIME; } - //std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu); - //threadReadFromUDP.join(); + std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu); + threadReadFromUDP.join(); delete udpSocket; return EXIT_SUCCESS; @@ -283,8 +283,8 @@ int main(int argc, char* argv[]){ return EXIT_RUNTIME; } - //std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu); - //threadReadFromTCP6.join(); + std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu); + threadReadFromTCP6.join(); delete tcp6Socket; return EXIT_SUCCESS; @@ -313,8 +313,8 @@ int main(int argc, char* argv[]){ return EXIT_RUNTIME; } - //std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu); - //threadReadFromTCP.join(); + std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu); + threadReadFromTCP.join(); delete tcpSocket; return EXIT_SUCCESS;