A Comprehensive Guide to HTTP

A Comprehensive Guide to HTTP

What is HTTP? Basic Information HTTP (HyperText Transfer Protocol) is an application layer protocol used for distributed, collaborative, and hypermedia information systems. Development History The development of HTTP began in 1989, initiated by Tim Berners-Lee at the European Organization for Nuclear Research (CERN). The standardization was coordinated by the World Wide Web Consortium (W3C) and … Read more

30-Day Challenge: In-Depth Study of Linux Server Program Development

30-Day Challenge: In-Depth Study of Linux Server Program Development

In the previous article, “30-Day Challenge: Linux Server Program Development: Starting from Sockets,” we implemented a client that initiates a socket connection and a server that accepts a socket connection. However, for functions like socket, bind, listen, accept, and connect, we assume the program runs perfectly without any exceptions, which is clearly impossible. No matter … Read more

Common Questions and Answers about MODBUS TCP

Common Questions and Answers about MODBUS TCP

In the field of industrial automation, the MODBUS TCP protocol is widely popular due to its simplicity and broad applications. However, some issues are inevitable during its use. Today, we have compiled some common questions to assist you in your debugging and usage! 🚀1. What is MODBUS TCP?MODBUS TCP is a communication protocol based on … Read more

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios Table of Contents • Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios • • Introduction • 1. Background: When Concurrent Connections Encounter Performance Bottlenecks • • 1.1 Case Environment • 1.2 Initial Parameter Analysis • 2. In-Depth Diagnosis: Connection Status and Kernel Parameters … Read more

Fundamentals of Network Programming in C: Socket Programming

Fundamentals of Network Programming in C: Socket Programming

Fundamentals of Network Programming in C: Socket Programming In modern computer science, network programming is an important field. As a low-level language, C provides powerful capabilities for network programming. This article will introduce the basics of socket programming in C, helping beginners understand how to perform simple network communication using C. What is a Socket? … Read more

Basics of Python Web Scraping – Fundamental Principles of HTTP (Part 2)

Basics of Python Web Scraping - Fundamental Principles of HTTP (Part 2)

HTTP Request Process A complete HTTP request process includes DNS requests and responses, domain name resolution, TCP connection, three-way handshake, server response to the HTTP request, browser parsing and rendering of HTML, and finally, the server closes the TCP connection with a four-way handshake. Step 1: DNS Resolution The local DNS uses recursive queries to … Read more

Modbus TCP Master to SNMP – ADFweb Gateway Converter – Guangzhou Xinyu IoT

Modbus TCP Master to SNMP – ADFweb Gateway Converter - Guangzhou Xinyu IoT

Modbus TCP Master toSNMP – ADFweb Gateway Converter–Guangzhou Xinyu IoT Author: Zou Wuyi Mobile185-020-77899 Email: [email protected] 1 Features: HD67166 – A1 is aModbus TCP Master/ SNMP proxy converter. It has the following features: • Read operation supports a maximum of 1024 bytes, write operation supports a maximum of 1024 bytes; • Isolation between power supply … Read more

MGate 5121 Modbus TCP to CANopen Configuration Manual

MGate 5121 Modbus TCP to CANopen Configuration Manual

Author 1 Basic Product Setup 1. To log into the gateway’s configuration page, you need to change your computer’s local network card IP address to 192.168.127.X The default factory IP address of the MGate 5121 is 192.168.127.254/24 The gateway’s default Ping service is disabled, so the factory-set IP address cannot be pinged, as shown in … Read more

Interviewer: Is HTTP Based on TCP or UDP?

Interviewer: Is HTTP Based on TCP or UDP?

Today’s computer network interview question has been asked by major companies such as ByteDance, Meituan, and Tencent, making it quite common. Before HTTP/3.0, it was based on the TCP protocol, but HTTP/3.0 will abandon TCP in favor of the UDP-based QUIC protocol: HTTP/1.x and HTTP/2.0: Both versions of the HTTP protocol are explicitly built on … Read more

Implementing Modbus TCP Master Communication in C# (Part II)

Implementing Modbus TCP Master Communication in C# (Part II)

Abstract ❝ This article builds upon the previous one by adding the functionality to read and write int and float data, as well as byte order reading and writing functions (ABCD, BADC, CDAB, DCBA)【Project address at the end of the article】. Introduction Today, we will discuss how to add new features to the previous article … Read more