Network- set blocking mode

This commit is contained in:
Sam Mario Svensson 2013-12-04 14:56:44 +01:00
parent df1594a43b
commit cc793851af
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ ThreadedClient::ThreadedClient()
this->connection = new Connection(); this->connection = new Connection();
this->sendPostBox = new PostBox<SmartPointer<OysterByte>>(); this->sendPostBox = new PostBox<SmartPointer<OysterByte>>();
this->recvPostBox = NULL; this->recvPostBox = NULL;
connection->SetBlockingMode(false);
} }
ThreadedClient::ThreadedClient(unsigned int socket) ThreadedClient::ThreadedClient(unsigned int socket)