mirror of
https://github.com/glest/glest-source.git
synced 2025-08-24 08:52:49 +02:00
- 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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user