Home  >  Article  >  What does timewait mean?

What does timewait mean?

hzc
hzcOriginal
2020-06-24 10:55:0718820browse

What does timewait mean?

1. IME_WAIT means ending the connection.

2. Take the time_wait status in tcp as an example:

1. In simple terms: the time_wait status is when the server sends FIN to the client during four waves. The state entered after terminating the connection.

What does timewait mean?

2. From the above figure, you can see that the time_wait state exists when the client receives serverFin and returns the ack packet. When it is in the time_wait state, we cannot create new Connection, because the port is occupied.

3. When the TCP connection is disconnected, the end that performs active shutdown will enter the TIME_WAIT state until it waits for 2msl (the maximum life span of each segment). There are two reasons for the existence of the TIME_WAIT state:

  1. (1) Reliably implement the termination of TCP full-duplex connections

  2. (2) Allow old duplicate segments to disappear in the network

What does timewait mean?

Extended information:

TIME_WAIT status: as shown below

Now access 192.168 from the computer 192.168.1.1. 1.10 FTP service. In the TCPView of this machine, you can see that the port status changes to TIME_WAIT. TIME_WAIT means to end the connection. It means that port 21 has been accessed before, but the access ended.

What does timewait mean?

The above is the detailed content of What does timewait mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn