Check for local server before detecting devices from hardware and tweak timeouts to make network connections faster
This commit is contained in:
parent
4c6429ae76
commit
96af869d79
4 changed files with 51 additions and 16 deletions
|
|
@ -24,6 +24,7 @@ public:
|
|||
|
||||
void ClientInfoChanged();
|
||||
|
||||
bool GetConnected();
|
||||
const char * GetIP();
|
||||
unsigned short GetPort();
|
||||
bool GetOnline();
|
||||
|
|
@ -71,6 +72,7 @@ private:
|
|||
char port_ip[20];
|
||||
unsigned short port_num;
|
||||
bool client_active;
|
||||
bool controller_data_received;
|
||||
bool server_connected;
|
||||
bool server_initialized;
|
||||
unsigned int server_controller_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue