← BYTES
Unix IPC·Starter·Ref: 15.1.21
In TCP, what does the connection state TIME_WAIT mean?
Have a question about this video? Mention reference 15.1.21 when you contact us.
a.The local side has finished closing its end of the connection and is waiting a fixed period before fully releasing it, in case any stray packets from this connection are still in transit
b.The connection is still being established
c.The connection is paused due to network congestion
d.The remote server has not responded to a request yet
TIME_WAIT is a normal, expected state a TCP connection sits in briefly after an orderly close -- it means this side has already sent and gotten an ACK for its final FIN, but the OS keeps the connection's identity reserved for a short window afterward rather than immediately freeing it, specifically to handle any leftover packets safely (see later questions for exactly why).
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES15121#UnixIPC