How to Analyze and Resolve Intermittent Packet Loss on Linux Servers?

How to Analyze and Resolve Intermittent Packet Loss on Linux Servers?

Packet loss refers to the situation where data packets are discarded during the transmission process due to various reasons before they reach the application program. The number of discarded packets divided by the total number of transmitted packets is what we commonly refer to as the packet loss rate. The packet loss rate is one … Read more

Introduction to TCP/IP Communication Protocol (1) – Overview of LwIP

Introduction to TCP/IP Communication Protocol (1) - Overview of LwIP

1. Introduction 1. Why use Ethernet for communication? Ethernet refers to a local area network that complies with the IEEE 802.3 standard. It is a type of internet technology, and since it occupies the highest proportion in networking technology, many people directly equate Ethernet with the internet. However, IEEE also has other local area network … Read more

Understanding the TCP/IP Protocol

Understanding the TCP/IP Protocol

TCP/IP ProtocolThe TCP/IP protocol (Transmission Control Protocol/Internet Protocol) is the most widely used protocol today, encompassing over 100 protocols used on the Internet, with the two most important being TCP and IP. Due to its cross-platform and routable characteristics, TCP/IP enables the interconnection of networks and communication across different network segments. This has led many … Read more

Implementing Network Programming in C: TCP/IP Protocol

Implementing Network Programming in C: TCP/IP Protocol

Implementing Network Programming in C: TCP/IP Protocol In today’s era of the internet, network programming has become an increasingly important skill. The C language, as a crucial tool for system-level programming, is widely used to implement various network applications. In this article, we will explore how to use C for network programming with the TCP/IP … Read more

When Modbus Meets TCP/IP

When Modbus Meets TCP/IP

Hello everyone, today we are going to discuss a topic that is both frustrating and rewarding in the industrial field—how to make the “old gentleman” Modbus and the “modern youth” TCP/IP shake hands and make peace. Last year, while debugging a sewage treatment plant project, I encountered a “generation gap” issue between these two protocols, … Read more

C++ Network Programming: TCP/IP Protocol Stack

C++ Network Programming: TCP/IP Protocol Stack

C++ Network Programming: TCP/IP Protocol Stack In modern computer networks, the TCP/IP protocol stack is the cornerstone of Internet communication. It provides a reliable means of communication for applications. In this article, we will delve into the composition of the TCP/IP protocol stack and its basic implementation in C++. 1. Overview of the TCP/IP Protocol … Read more

Implementing TCP/IP Communication and Connection Status Detection in C#

Implementing TCP/IP Communication and Connection Status Detection in C#

Introduction In the development of network applications, TCP/IP communication is fundamental for data transmission between clients and servers. However, ensuring the stability and reliability of communication is equally important. When implementing TCP/IP communication in C#, it is necessary to focus not only on sending and receiving data but also on monitoring the connection status in … Read more

The Role and Message Format of ARP in TCP/IP

The Role and Message Format of ARP in TCP/IP

Image course, development board –> Taobao store: Wolf FPGA ConsultationWeChat: MyWork666888 QQ group: 543928922 Recently, Wolf published an article on 100G networking titled “FPGA Project: 100G Network Development Sharing”. It is impressive that it can communicate, but the downside is that it only reaches the MAC layer, and the upper network layers are missing. To … Read more

Introduction to TCP/IP in Embedded Systems

Introduction to TCP/IP in Embedded Systems

TCP/IP is the foundational protocol of the Internet. Below is a detailed introduction to it: Protocol Layers •Application Layer: Provides application program interfaces for users. Common protocols includeHTTP (Hypertext Transfer Protocol),SMTP (Simple Mail Transfer Protocol),DNS (Domain Name System), etc.HTTP is used for web page transmission between browsers and servers;SMTP is used for sending emails;DNS is … Read more

In the Ethernet Era, Modbus Still Thrives!!!

In the Ethernet Era, Modbus Still Thrives!!!

As a classic communication protocol in industrial automation, Modbus has been widely used globally since its inception in 1979. From the initial serial communication to today’s high-speed Ethernet links, Modbus has undergone technological evolution and expansion, marking a milestone in the field of industrial communication. The Origin of the Protocol: The Beginning of Serial Communication … Read more