mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 23:47:16 +00:00
CLOSE-WAIT - represents waiting for a connection termination request
from the local user.
TCP A TCP B
1. ESTABLISHED ESTABLISHED
2. (Close)
FIN-WAIT-1 --> <SEQ=100><ACK=300><CTL=FIN,ACK> --> CLOSE-WAIT
3. FIN-WAIT-2 <-- <SEQ=300><ACK=101><CTL=ACK> <-- CLOSE-WAIT
4. (Close)
TIME-WAIT <-- <SEQ=300><ACK=101><CTL=FIN,ACK> <-- LAST-ACK
5. TIME-WAIT --> <SEQ=101><ACK=301><CTL=ACK> --> CLOSED
6. (2 MSL)
CLOSED
in the current state, we can continue to send data until the user
calls shutdown or close, then directly enter the TCP_LAST_ACK state
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| delay_act_and_tcp_perf.rst | ||
| index.rst | ||
| ipfilter.rst | ||
| mdio.rst | ||
| nat.rst | ||
| netdev.rst | ||
| netdriver.rst | ||
| netguardsize.rst | ||
| netlink.rst | ||
| pkt.rst | ||
| sixlowpan.rst | ||
| slip.rst | ||
| socketcan.rst | ||
| tcp_network_perf.rst | ||
| tcp_state_machine.rst | ||
| wqueuedeadlocks.rst | ||