In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what is the status of TCP". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
11 states
1.CLOSED status: initial state, indicating that the TCP connection is closed or not open.
2.LISTEN status: indicates that a port on the server is listening and is waiting for the arrival of the client connection.
3.SYN_SENT status: when the client sends a SYN request to establish a connection, the client is in the SYN_SENT state, waiting for the server to send SYN+ACK.
4.SYN_RCVD status: when the server receives the connection request SYN from the client, the server is in the SYN_RCVD state and will reply a SYN+ACK confirmation message to the client after receiving the SYN request.
5.ESTABLISED status: when the client replies to the server with an ACK and the server receives the ACK (the last TCP handshake), both the server and the client are in this state, indicating that the TCP connection has been successfully established.
6.FIN_WAIT_1 status: when the client wants to disconnect during data transfer and sends a FIN to the server, the client is in this state.
7.FIN_WAIT_2 status: the client is in this state when the client receives a disconnect confirmation ACK sent by the server.
8.CLOSE_WAIT status: the server is in this state for a period of time after the server sends a disconnect confirmation ACK but before sending its own FIN.
9.TIME_WAIT status: when the client receives the FIN from the server and sends its own ACK, the client is in this state.
10.LAST_ACK status: indicates that the party that is passively shut down (such as the server) is in this state when it waits for the other party's ACK message after sending FIN.
11.CLOSING status: during the disconnection, the client usually sends a FIN, and then the server replies with an ACK, and then the server sends data and then replies with a FIN. When the client and the server receive FIN at the same time, the client and the server are in the CLOSING state, that is, both parties are closing the same connection.
This is the end of the content of "what is the status of TCP". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.