Why tcp connect termination need 4-way-handshake?
问题 When connection sets up, there is: Client ------SYN-----> Server Client <---ACK/SYN---- Server ----① Client ------ACK-----> Server and when termination comes, there is: Client ------FIN-----> Server Client <-----ACK------ Server ----② Client <-----FIN------ Server ----③ Client ------ACK-----> Server my question is why ② and ③ can not set in the same package like ① which is ACK and SYN set in one package ??? 回答1: In the Three-Way Handshake ( connection setup ) : The server must acknowledge (