1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 06:53:07 +01:00

limit tcp clients to 6

This commit is contained in:
wellenvogel
2021-12-12 12:46:17 +01:00
parent de04e5443b
commit 2f1ea8e726
4 changed files with 23 additions and 5 deletions

View File

@@ -871,8 +871,10 @@ void loop() {
}
}
monitor.setTime(3);
//read sockets
socketServer.loop(true,false);
monitor.setTime(4);
//write sockets
socketServer.loop(false,true);
monitor.setTime(5);
usbSerial->loop(true);