- added new ini option to allow for custom broadcast port for LAN game discovery:

BroadcastPort=x
where x is the custom port for discovery
This commit is contained in:
Mark Vejvoda
2012-10-06 00:34:08 +00:00
parent 62c82ad9bc
commit fd48fe18e4

View File

@@ -3204,6 +3204,8 @@ int glestMain(int argc, char** argv) {
Config &config = Config::getInstance();
setupGameItemPaths(argc, argv, &config);
Socket::setBroadCastPort(config.getBool("BroadcastPort",boolToStr(Socket::getBroadCastPort()).c_str()));
Socket::disableNagle = config.getBool("DisableNagle","false");
if(Socket::disableNagle) {
printf("*WARNING users wants to disable the socket nagle algorithm.\n");