4

Why TIME_WAIT state is needed by active close side, but not the passive close side? I think the network error will affect both side, why only the active close side need to wait?

I think the passive side can also receive bad packet after the connection is closed.

Myrfy
  • 575
  • 4
  • 11
  • Network errors and bad packets don't have anything to do with it, and it isn't about 'active' and 'passive' ends either. It is about *duplicated* packets, and about which side sent the first FIN. – user207421 Apr 04 '18 at 04:54
  • @EJP Yes, duplicated packets can be received by the active end and the passive end, so, why only the active end (i.e., the one who first send FIN) have to wait for TIME_WAIT? why another end may also receive duplicated packet but don't have to wait? – Myrfy Apr 04 '18 at 06:29
  • Because the end that first sent the FIN can't send any more packets, by definition. – user207421 Apr 03 '22 at 04:53

0 Answers0