Networking & Protocols (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
How does the TCP 4-Way Handshake terminate a connection?
junior Levelnetworking-protocolsBasic
In Simple Words: Terminates connections gracefully in both directions:
- FIN: Client sends
FIN(signals it has no more data to send). - ACK: Server sends
ACK(acknowledges client's close; server can still send data). - FIN: When server finishes, it sends its own
FIN. - ACK: Client sends
ACKand entersTIME_WAITstate (waits $2 \times \text{MSL}$ to ensure final ACK was received).