I have figured that I could change SettingsManager.h by:
Uncommenting the line:
Code: Select all
setDefault(SERVER, Util::getLocalIp());This finds the local IP and and inputs it into the box in the settings
And modify the line:
Code: Select all
setDefault(IN_PORT, Util::rand(1025, 32000));To read:
Code: Select all
setDefault(IN_PORT, 1412);This will make all client connections go through port 1412
Will this work? Am I missing anything? Should I use a diffrent port for client-client connections?
I've tried testing this, but I can't seem to build it