IoT Protocol Analysis: Practical Applications of MQTT and CoAP

IoT Protocol Analysis: Practical Applications of MQTT and CoAP

1. What is MQTT? MQTT, short for Message Queuing Telemetry Transport, is a lightweight protocol designed specifically for devices with unstable networks and limited bandwidth. For example, in Northeast China, there are times when the signal is poor, making it difficult to access the internet on mobile phones. This is when MQTT comes into play. … Read more

Detailed Explanation of MQTT Protocol Implementation

Detailed Explanation of MQTT Protocol Implementation

To pass the time, I will provide a detailed explanation of the MQTT protocol code implementation I wrote earlier; the main content will analyze and implement the MQTT network communication protocol, specifically involving the processing of network data stream segmentation. Therefore, much of the content will involve specific code functionalities. If you are interested in … Read more

What Is MQTT Protocol?

What Is MQTT Protocol?

1. What Is MQTT Protocol The full name of MQTT protocol is Message Queuing Telemetry Transport, translated as Message Queue Telemetry Transport. It is a message protocol based on the publish-subscribe model under ISO standards, based on the TCP/IP protocol suite, designed to improve the performance of network device hardware and the network itself. MQTT … 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

10 Essential TCP/IP Questions Explained with 15 Images

10 Essential TCP/IP Questions Explained with 15 Images

Source: https://juejin.im/post/6844903490595061767 Author: Ruheng 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 Internet. The reference model based on TCP/IP divides the protocols into four layers: Link Layer, Network Layer, Transport Layer, and … 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

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

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