Minor reorganization; bind to localhost to prevent Windows Firewall alert

This commit is contained in:
Jack Andersen
2017-01-21 15:38:02 -10:00
parent 9db987d3dd
commit b8c42676ce
4 changed files with 42 additions and 40 deletions

View File

@@ -12,7 +12,7 @@ void Listener::listenerProc()
printf("JoyBus listener started\n");
#endif
net::IPAddress localhost("0.0.0.0");
net::IPAddress localhost("127.0.0.1");
bool dataBound = false;
bool clockBound = false;
while (m_running && (!dataBound || !clockBound))