- set client socket to be blocking after initial connection to host
This commit is contained in:
parent
8c59da57cd
commit
753ac061b8
|
@ -106,6 +106,7 @@ void ClientInterface::connect(const Ip &ip, int port) {
|
|||
clientSocket->setBlock(false);
|
||||
clientSocket->connect(ip, port);
|
||||
connectedTime = time(NULL);
|
||||
clientSocket->setBlock(true);
|
||||
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s] END - socket = %d\n",__FILE__,__FUNCTION__,clientSocket->getSocketId());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user