We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f4794 commit 03a9b2dCopy full SHA for 03a9b2d
libraries/ESP8266WiFi/src/include/internal.h
@@ -0,0 +1,12 @@
1
+#pragma once
2
+
3
+#ifndef TCP_MSS
4
+#define TCP_MSS 1460 // lwip1.4
5
+#endif
6
7
+#define WIFICLIENT_MAX_PACKET_SIZE TCP_MSS
8
+#define WIFICLIENT_MAX_FLUSH_WAIT_MS 300
9
10
+#define TCP_DEFAULT_KEEPALIVE_IDLE_SEC 7200 // 2 hours
11
+#define TCP_DEFAULT_KEEPALIVE_INTERVAL_SEC 75 // 75 sec
12
+#define TCP_DEFAULT_KEEPALIVE_COUNT 9 // fault after 9 failures
0 commit comments