Skip to the content.

Home / cs-notes / Network / Protocol / TCP / terminate

@startuml

actor Client as c
boundary Server as s

c -> s: FIN
s -> c: ACK
s -> c: FIN
c -> s: ACK

@enduml


为什么挥手需要 4 次 ?


主动关闭方为何需要 TIME_WAIT 后,才进入 CLOSED 状态 ?