Why Do We Need to Write HTTP Before Entering a URL?

Why Do We Need to Write HTTP Before Entering a URL?

HTTP, or HyperText Transport Protocol, is a network technology that defines the communication between browsers and servers. It operates at the application layer and uses TCP port 80 to provide services. Hypertext is a type of text that links text, images, videos, and other multimedia content together. It not only includes textual content but also … Read more

Understanding TCP, HTTP, Socket, and Socket Connection Pool

Understanding TCP, HTTP, Socket, and Socket Connection Pool

Every evening at 18:00, let's grow together! Source: sf.gg/a/1190000014044351 Introduction As developers, we often hear terms like <span>HTTP protocol, TCP/IP protocol, UDP protocol, Socket, Socket long connection, Socket connection pool</span>. However, not everyone can clearly understand their relationships, differences, and principles. This article will explain their relationships step by step, starting from the basics of … Read more

Microsoft Aims to End TCP/IP: Launches Its Own Version of QUIC, MsQuic, and Open Sources It

Microsoft Aims to End TCP/IP: Launches Its Own Version of QUIC, MsQuic, and Open Sources It

QUIC is the TCP terminator developed by Google, and Microsoft has launched its own version of QUIC: MsQuic.Microsoft revealed that it is a user of QUIC. QUIC is the successor to TCP and is essential for HTTP/3, but it has not garnered much interest outside of Google and Cloudflare.The full name of QUIC is Quick … Read more

A Simplified Understanding of TCP, HTTP, SSE, and WebSocket

A Simplified Understanding of TCP, HTTP, SSE, and WebSocket

Features TCP HTTP SSE WebSocket Communication Direction Bidirectional Request-Response Unidirectional (Server → Client) Bidirectional Underlying Protocol IP TCP HTTP TCP (Initial handshake is HTTP) Protocol Layer Transport Layer Application Layer Application Layer Application Layer Core Advantages Reliable, Stable Simple, Stateless, General Lightweight, Auto-Reconnect True Duplex, Low Latency Main Disadvantages Complex Protocol, High Overhead Header Redundancy, … Read more

Practical TCP Connection Reuse: Analyzing HTTP Keep-Alive Through Packet Capture

Practical TCP Connection Reuse: Analyzing HTTP Keep-Alive Through Packet Capture

Practical TCP Connection Reuse: Analyzing HTTP Keep-Alive Through Packet Capture In modern web architecture, keep-alive connections have become a key technology for improving performance and reducing latency. This article uses real Wireshark packet capture data to fully restore a complete local loopback communication process, focusing on the analysis of the TCP connection reuse mechanism, helping … Read more

Differences Between Modbus RTU and Modbus TCP Protocols

Differences Between Modbus RTU and Modbus TCP Protocols

“The Path of an Excellent Engineer in Three Stages” 1. Basic Stage: Siemens TIA Portal PLC Technology. 2. Intermediate Stage: TIA Portal and C# Advanced Language Technology. 3. Advanced Stage: Standardized Programming Methods for PLCs. The Path of Standardization! Modbus communication is a very open and universal protocol, and it is one of the most … Read more

Beginner’s Guide to Writing a TCP Bind Shell in ARM Assembly Language (32-bit)

Beginner's Guide to Writing a TCP Bind Shell in ARM Assembly Language (32-bit)

In this tutorial, you will learn how to write a tcp_bind_shell that does not contain null bytes, which can be used for shellcode testing of vulnerability exploitability. After reading this tutorial, you will not only learn how to write shellcode that binds a shell to a local port, but also understand how to write shellcode … Read more

C++17 and Qt6 Network Programming: Building a High-Performance Server Architecture from TCP Protocol to SQLite3

C++17 and Qt6 Network Programming: Building a High-Performance Server Architecture from TCP Protocol to SQLite3

Welcome to the 【Ultimate Programming】 WeChat public account 【Knowledge Repository】, specially customized for everyone《Qt C++ Architect》 Series – Project Practice Episode 138:This issue will focus on a practical and challenging technical topic –【C++17 and Qt6 Network Programming: Building a High-Performance Server Architecture from TCP Protocol to SQLite3】.Whether you are a beginner who has just mastered … Read more

Introduction to Python: Network Programming

Introduction to Python: Network Programming

Python provides two levels of network services: low-level Socket and high-level SocketServer. These services assist developers in network communication and simplify server-side development. What is a Socket? Socket is an endpoint for communication between applications, primarily used for data exchange over a network. It is an interface provided by the operating system that allows applications … Read more

Omron PLC Communication Protocol Guide: Detailed Explanation of Fins/TCP and HostLink

Omron PLC Communication Protocol Guide: Detailed Explanation of Fins/TCP and HostLink

Those involved in industrial automation know that whether the PLC can communicate with the host computer directly determines whether the entire system can operate. Omron’s Fins/TCP and HostLink protocols are the most commonly used on-site, but beginners often stumble on handshake and address configuration. This article does not delve into theoretical concepts; instead, it follows … Read more