Skip to content

Commit 03a9b2d

Browse files
committed
missing file
1 parent 44f4794 commit 03a9b2d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)