Network: Print used port on startup and change default to 6742
Also print an error if server can't be started 1337 is already used by razer's rest server Port idea by @bahorn (6742 = ORGB on a phone numpad)
This commit is contained in:
parent
0286a5dd58
commit
6d585d3eeb
2 changed files with 5 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ static void Sleep(unsigned int milliseconds)
|
|||
NetworkClient::NetworkClient(std::vector<RGBController *>& control) : controllers(control)
|
||||
{
|
||||
strcpy(port_ip, "127.0.0.1");
|
||||
port_num = 1337;
|
||||
port_num = 6742;
|
||||
server_connected = false;
|
||||
server_controller_count = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue