Big f***ing cleanup part 1
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#include <Nazara/Core/Thread.hpp>
|
||||
#include <Nazara/Math/Vector3.hpp>
|
||||
#include <Nazara/Network/NetPacket.hpp>
|
||||
#include <Nazara/Network/TcpClient.hpp>
|
||||
#include <Nazara/Network/TcpServer.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
#include <chrono>
|
||||
#include <random>
|
||||
#include <thread>
|
||||
|
||||
SCENARIO("TCP", "[NETWORK][TCP]")
|
||||
{
|
||||
@@ -29,7 +30,7 @@ SCENARIO("TCP", "[NETWORK][TCP]")
|
||||
Nz::IpAddress clientIP = client.GetRemoteAddress();
|
||||
CHECK(clientIP.IsValid());
|
||||
|
||||
Nz::Thread::Sleep(100);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
|
||||
Nz::TcpClient serverToClient;
|
||||
REQUIRE(server.AcceptClient(&serverToClient));
|
||||
|
||||
Reference in New Issue
Block a user