Network- set blocking mode
This commit is contained in:
parent
df1594a43b
commit
cc793851af
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue