NetX Duo: Transform Your IoT Projects into High-Speed, Reliable Solutions!

NetX Duo: Transform Your IoT Projects into High-Speed, Reliable Solutions!

What is NetX Duo? NetX Duo (full name Eclipse ThreadX NetX Duo) is an industrial-grade TCP/IP network protocol stack launched by Microsoft/the Microsoft open-source community, specifically designed for deeply embedded real-time systems and IoT devices. It supports both IPv4 and IPv6, and tightly integrates the ThreadX real-time kernel with the NetX Duo network stack, creating … Read more

Understanding the TCP/IP Protocol

Understanding the TCP/IP Protocol

We can think of the TCP/IP protocol as the “underlying operating system” of the internet—it serves as the “rulebook” for the operation of the internet, enabling countless devices worldwide (phones, computers, servers, routers) to communicate with each other as if they “speak the same language”. Why is TCP/IP Needed? Early computer networks had many different … Read more

Understanding TCP/IP Protocols: TCP Protocol Explained

Understanding TCP/IP Protocols: TCP Protocol Explained

Do you understand the TCP/IP protocol? A set of communication protocols used to implement network interconnection, containing complete rules from data transmission to application services. Core Protocols: TCP: Transport layer protocol that provides reliable, connection-oriented byte stream services (such as file transfer, web browsing). IP: Network layer protocol responsible for addressing and routing data packets … Read more

Understanding Industrial Communication Protocols: MQTT, Modbus, PLC, TCP, RS-485, and More

Understanding Industrial Communication Protocols: MQTT, Modbus, PLC, TCP, RS-485, and More

In modern industrial automation systems, interconnectivity between devices is core. Whether for data acquisition, remote control, or production management, an efficient and stable communication system is essential. From the underlying physical interfaces to protocol standards, and up to the upper-level HMI and SCADA application software, industrial communication has gradually developed a complete architecture. Today, we … Read more

Understanding MODBUS TCP/IP with Siemens TIA Portal

Understanding MODBUS TCP/IP with Siemens TIA Portal

Recently, a project owner required MODBUS TCP/IP, with hardware consisting of S7-1200 and KTP1200 panel. The owner was unable to provide the IP subnet during the project implementation phase, thus a solution was needed to modify the PLC and panel IPs on-site:This can be divided into three steps: modifying the PLC IP, modifying the connection … Read more

In-Depth Understanding of TCP/IP Protocol Implementation: IP Fragmentation (Based on Linux 1.2.13)

In-Depth Understanding of TCP/IP Protocol Implementation: IP Fragmentation (Based on Linux 1.2.13)

Last time we analyzed IP fragmentation reassembly, this time we will analyze IP fragmentation. First, we need to understand why fragmentation is necessary. For example, in Ethernet, the CSMA/CD protocol (implemented by the network card) specifies a maximum (MTU) and minimum size for link layer packets (excluding the MAC header, but in this kernel version, … Read more

Modern Operating Systems and TCP/IP

Modern Operating Systems and TCP/IP

On the last day of the holiday last week, I revisited “Modern Operating Systems” and posted a message praising modern operating systems on social media, which I will attach at the end. This article will be brief. In the era of batch processing and before, programs had to be executed in order, and it was … Read more

Breaking Through One Million Concurrent Connections: A Deep Optimization Guide for the Linux Kernel Network Stack

Breaking Through One Million Concurrent Connections: A Deep Optimization Guide for the Linux Kernel Network Stack

Optimizing Linux System Configuration for One Million Concurrent Connections When building high-performance servers, the ability to handle high concurrency is crucial. To achieve one million concurrent connections on a Linux system, it is essential to adjust the following core parameter configurations. Shell Resource Configuration Check and adjust the shell resource limits using <span>ulimit -a</span>, as … Read more

Method for Setting Up a TCP/IP Experiment Server (Part 1)

Method for Setting Up a TCP/IP Experiment Server (Part 1)

1. Add a network card to the virtual machine, bridging it to the physical network for external communication 2. Add another network card for communication between the host and the virtual machine 3. Change the network card name to eth cd /etc/sysconfig/network-sripts/ mv ifcfg-ens33 ifcfg-eth0 vim ifcfg-eth0, change both device and name to eth0, as … Read more