Skip to content

Commit 07d2a0b

Browse files
committed
faq update about tcpCleanup()
1 parent cb26352 commit 07d2a0b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/faq/readme.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,15 @@ This error may pop up after switching between
9393
How to clear TCP PCBs in time-wait state ?
9494
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9595

96-
This is needed with lwIP-v1.4, less needed with lwIP-v2 but timeout is still
97-
too high.
96+
This is not needed anymore:
97+
98+
PCBs in time-wait state are limited to 5 and removed when that number is
99+
exceeded.
100+
101+
Ref. `lwIP-v1.4 <https://github.com/esp8266/Arduino/commit/07f4d4c241df2c552899857f39a4295164f686f2#diff-f8258e71e25fb9985ca3799e3d8b88ecR399>`__,
102+
`lwIP-v2 <https://github.com/d-a-v/esp82xx-nonos-linklayer/commit/420960dfc0dbe07114f7364845836ac333bc84f7>`__
103+
104+
For reference:
98105

99106
Time-wait PCB state helps TCP not confusing two consecutive connections with the
100107
same (s-ip,s-port,d-ip,d-port) when the first is already closed but still

0 commit comments

Comments
 (0)