diff --git a/source/glest_game/network/client_interface.cpp b/source/glest_game/network/client_interface.cpp index 376fff200..d0cf84de1 100644 --- a/source/glest_game/network/client_interface.cpp +++ b/source/glest_game/network/client_interface.cpp @@ -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()); }