tools/hexnet: un-comment problematic sections
parent
b4d4ce77b2
commit
209d0828b4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue