tools/hexnet: un-comment problematic sections
parent
b4d4ce77b2
commit
209d0828b4
|
@ -254,8 +254,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
//std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu);
|
std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu);
|
||||||
//threadReadFromUDP.join();
|
threadReadFromUDP.join();
|
||||||
|
|
||||||
delete udpSocket;
|
delete udpSocket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
@ -283,8 +283,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
//std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu);
|
std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu);
|
||||||
//threadReadFromTCP6.join();
|
threadReadFromTCP6.join();
|
||||||
|
|
||||||
delete tcp6Socket;
|
delete tcp6Socket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
@ -313,8 +313,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
//std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu);
|
std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu);
|
||||||
//threadReadFromTCP.join();
|
threadReadFromTCP.join();
|
||||||
|
|
||||||
delete tcpSocket;
|
delete tcpSocket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue