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

How tcp,ip works

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

Share

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

The application layer transfers a string of bytes to the transport layer on the source host; the transport layer divides the byte stream into TCP segments and gives the TCP header to the IP layer; the iP layer generates a packet to TCP

After the segment is put into its data domain and the IP addresses of the source and destination hosts are added, it is handed over to the network interface layer and then handed over to the data link layer. The data link layer installs the IP packet on the data part of its frame.

Send it to the destination host or IP router for processing. At the destination host, the data link layer removes the data link layer frame header, gives the IP packet to the network interface layer, and then to the IP layer IP layer to check the IP packet header

If the check in the header is inconsistent with the calculation, the packet is discarded; if the check is consistent

The IP layer removes the IP header and gives the TCP segment to the TCP layer. The TCP layer checks the sequence number to determine whether it is the correct TCP segment; the TCP layer checks the TCP header and throws it if it is incorrect

If correct, send an acknowledgement to the host; the destination host removes the TCP header at the transport layer and passes the byte stream to the application

IP protocol:

Both incoming and outgoing TCPIP data should be processed by IP protocol. IP protocol should decompose the outgoing data into IP datagrams and choose an appropriate route to send them out.

The incoming data should be stripped of the IP header and reassembled, and then transmitted to the upper layer TCP or UDP protocol. Multiple application protocols may use the same TCP or UDP service, while TCP or UDP may all use the same service

IP service. Conversely, IP is faced with multiple upper layer protocols (or upper layer entities).

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