From cc793851affee55677993255a0fa38114547ac65 Mon Sep 17 00:00:00 2001 From: Sam Mario Svensson Date: Wed, 4 Dec 2013 14:56:44 +0100 Subject: [PATCH] Network- set blocking mode --- Code/Network/NetworkDependencies/ThreadedClient.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code/Network/NetworkDependencies/ThreadedClient.cpp b/Code/Network/NetworkDependencies/ThreadedClient.cpp index 64b8c098..2ad49553 100644 --- a/Code/Network/NetworkDependencies/ThreadedClient.cpp +++ b/Code/Network/NetworkDependencies/ThreadedClient.cpp @@ -10,6 +10,8 @@ ThreadedClient::ThreadedClient() this->connection = new Connection(); this->sendPostBox = new PostBox>(); this->recvPostBox = NULL; + + connection->SetBlockingMode(false); } ThreadedClient::ThreadedClient(unsigned int socket)