Fix tcp server burns cpu cycles when no connections, and does not close some connections

This commit is contained in:
2025-12-13 21:55:37 -05:00
parent e621b47438
commit 0e29470be1
3 changed files with 24 additions and 11 deletions

View File

@@ -13,6 +13,8 @@
#define SLEEP_AFTER_FAIL_MS 5000
#define NO_CLIENT_SLEEP_MS 400
#define TCP_PORT 3001
#endif //TCP_H