diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 54d559e6..c7c92846 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -3324,6 +3324,9 @@ int glestMain(int argc, char** argv) { clientSocket.receive(&szBuf[0],8095,false); std::cout << szBuf << std::endl; } + else { + std::cout << "Could not connect (possibly no clients connected) to host: " << ip.getString() << " port: " << port << std::endl; + } return 0; } diff --git a/source/glest_game/network/server_interface.cpp b/source/glest_game/network/server_interface.cpp index 3c5226d7..e368b6c7 100644 --- a/source/glest_game/network/server_interface.cpp +++ b/source/glest_game/network/server_interface.cpp @@ -81,7 +81,7 @@ ServerInterface::ServerInterface(bool publishEnabled) :GameNetworkInterface() { serverSocketAdmin->setBindPort(Config::getInstance().getInt("ServerAdminPort", intToStr(GameConstants::serverAdminPort).c_str())); //serverSocketAdmin->setBindSpecificAddress("127.0.0.1"); serverSocketAdmin->setBindSpecificAddress(Config::getInstance().getString("ServerAdminBindAddress", "127.0.0.1")); - //serverSocketAdmin->listen(5); + serverSocketAdmin->listen(5); maxFrameCountLagAllowed = Config::getInstance().getInt("MaxFrameCountLagAllowed", intToStr(maxFrameCountLagAllowed).c_str()); maxFrameCountLagAllowedEver = Config::getInstance().getInt("MaxFrameCountLagAllowedEver", intToStr(maxFrameCountLagAllowedEver).c_str());