Big f***ing cleanup part 1

This commit is contained in:
Lynix
2020-02-23 00:42:22 +01:00
parent 67d0e0a689
commit 3d22321109
178 changed files with 2190 additions and 5113 deletions

View File

@@ -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));