Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

TCP's three-way handshake, four disconnects

2025-02-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. Three handshakes

1) The server is in LISTEND, the client sends a request syn=1, ack=0, and the status is SYN_SEND.

2) The server receives the request and returns syn=1, ack=1, status SYN_RCVD

3) ESTABLISHED ESTABLISHED

2, four times disconnected

1) The client initiates a disconnection request and sends FIN=1, ack=0 packet status FIN_WAIT1.

2) The server receives the ACK packet status of the request reply from the client as CLOSE_WAIT.

3) The server sends a confirmation to the client that the FIN status is LAST_ACK, and the client status is FIN_WAIT2.

4) The client receives an acknowledgement from the server and replies to the ACK status as TIME_WAIT. After waiting for 2MSL, it becomes CLOSE.

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report