Basics of TCP/IP Data Encapsulation

Basics of TCP/IP Data Encapsulation

In daily life, when shopping online or mailing an item, one must fill out both parties’ addresses, contact information, and whether insurance is needed, among other details. Additionally, the courier company may have other regulations that need to be included in the purchase and mailing details. The purpose of these actions is to ensure the … Read more

Explaining TCP/IP Three-Way Handshake and Four-Way Wavehand with a Girlfriend Example

Explaining TCP/IP Three-Way Handshake and Four-Way Wavehand with a Girlfriend Example

Background Having been in a long-distance relationship with my girlfriend for over a year, I suggested that we video chat every night to maintain our feelings. Since we started dating, we have managed to keep this up for over a year. Problem Sometimes during our chats, either my network or hers might be unstable, causing … Read more

In-Depth Understanding of TCP/IP Protocol: TCP Connection Establishment and Termination

In-Depth Understanding of TCP/IP Protocol: TCP Connection Establishment and Termination

This article is reprinted from WeChat public account: Linwan Village Chinchilla 1. Introduction   TCP is a connection-oriented protocol. Before either party sends data in any direction, a connection must be established between the two parties. The state transition diagram for connection creation and termination is as follows: 2. Three-Way Handshake to Establish Connection The process … Read more

Ten Essential Questions About TCP/IP

Ten Essential Questions About TCP/IP

Click the “Learn Algorithms in Five Minutes” above and choose the “Star” public account Heavy content delivered first Source: Juejin, Author: Ruheng Link: https://juejin.im/post/6844903490595061767 1. TCP/IP Model The TCP/IP protocol model (Transmission Control Protocol/Internet Protocol) includes a series of network protocols that form the foundation of the Internet and is the core protocol of the … Read more

One Minute, One Diagram: Mastering TCP/IP

One Minute, One Diagram: Mastering TCP/IP

High-definition image, sourced from the internet. Suggestions: 1) View on PC 2) If viewing on mobile, please click the image to zoom Application Layer, Presentation Layer, Session Layer: HTTP, FTP, SMTP, POP3, encryption and decryption, compression and decompression, session management Transport Layer: TCP, UDP, ensuring data segments arrive effectively Network Layer: IP, ICMP, RIP, packet … Read more

TCP/IP Study Notes (10) – Establishment and Termination of TCP Connections

TCP/IP Study Notes (10) - Establishment and Termination of TCP Connections

The establishment of a TCP connection can be simply referred to as a three-way handshake, while the termination of the connection can be called a four-way handshake. TCP is a connection-oriented protocol, so both parties need to establish a connection before sending data. This is completely different from the protocols discussed earlier. All the previous … Read more

The Correct Approach to TCP/IP Three-Way Handshake and Four-Way Wave

The Correct Approach to TCP/IP Three-Way Handshake and Four-Way Wave

Background: I have been in a long-distance relationship with my girlfriend for over a year. To maintain our relationship, I suggested that we video chat every night. Since we started dating, we have managed to stick to this for over a year. Author: Champin, Original: https://my.oschina.net/u/3708120/blog/1581023 Issue Sometimes during our chats, either my network or … Read more

Understanding TCP Through a Historical Analogy

Understanding TCP Through a Historical Analogy

Introduction: This article aims to discuss knowledge about TCP. Please forgive any inappropriate metaphors. In the fourth year of the Tianqi era of the Ming Dynasty, early morning. As dawn broke, I drove a horse-drawn cart full of goods to the South City Gate, which was the central location for handling goods. A line of … Read more

TCP/IP Learning Notes (11) – TCP Interactive and Block Data Streams

TCP/IP Learning Notes (11) - TCP Interactive and Block Data Streams

Currently, there are many network protocols built on the TCP protocol, such as telnet, ssh, ftp, http, etc. These protocols can be roughly divided into two categories based on data throughput: (1) Interactive data types, such as telnet and ssh. These types of protocols usually only do small-scale data exchanges, such as pressing a key … Read more

What Is TCP/IP Protocol Really About?

What Is TCP/IP Protocol Really About?

The italic part is a question from the reader After reading Richard Stevens’ TCP/IP Protocol Volume 1: Detailed Explanation for a long time, I feel that it is quite difficult to read. How should I learn what the TCP/IP protocol is really about? What can I do after understanding the TCP/IP protocol? I would appreciate … Read more