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

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

Best Practices for Implementing UDP with Vert.x in IoT

Best Practices for Implementing UDP with Vert.x in IoT

Hello everyone, I am Laokou, and let’s learn how to implement a UDP server using Vert.x together. Implementing UDP Vert.x Core Address Note UDP is a connectionless protocol, which means there is no persistent connection established with the remote client. Therefore, the data packets you send and receive must include the remote address. Additionally, UDP … 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

Introduction to Network Programming in VxWorks

Introduction to Network Programming in VxWorks

VxWorks is a real-time operating system (RTOS) widely used in embedded systems. Due to its high performance and reliability, it has been extensively applied in many critical fields such as aerospace, industrial control, and automotive electronics. This article will briefly introduce network programming on VxWorks, focusing on how to perform network communication and providing some … Read more

TCP/IP Protocol Stack

TCP/IP Protocol Stack

1. Application Layer The application layer is the first layer of the TCP/IP protocol, directly providing services to application processes. (Data unit: message) It supports the World Wide Web with HTTP, email with SMTP, and file transfer with the FTP protocol. 2. Transport Layer Responsible for providing general data transmission services for communication between processes … Read more

UDP Network Programming in VxWorks

UDP Network Programming in VxWorks

VxWorks is a high-performance real-time operating system widely used in embedded systems, and its network programming capabilities rely on a powerful network protocol stack that supports standard protocols such as TCP/IP and UDP.VxWorks‘s network programming interface is highly compatible with the POSIX socket API, allowing developers to use familiar functions such as socket(), bind(), sendto(), … Read more

A Concise Explanation of HTTP/1, HTTP/2, and HTTP/3

A Concise Explanation of HTTP/1, HTTP/2, and HTTP/3

Better understand how each version of HTTP works. In the early 1990s, Tim Berners-Lee and his team at CERN worked together to define four fundamental components of the internet: Hypertext document format (HTML) Data transfer protocol (HTTP) A web browser for viewing hypertext (the first browser, WorldWideWeb) A server for transmitting data (an early version … Read more

HTTP 3.0 Completely Abandons TCP: What Went Wrong?

Author l Hollis Source l Hollis (ID: hollischuang) Since HTTP/1.0 and up to HTTP/2, regardless of how the application layer protocol has improved, TCP has always been the foundation of the HTTP protocol mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly released HTTP … Read more

What Did TCP Do Wrong in Abandoning HTTP 3.0?

What Did TCP Do Wrong in Abandoning HTTP 3.0?

Since HTTP/1.0, up to HTTP/2, TCP has always been the foundation of the HTTP protocol, mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly launched HTTP 3.0, the TCP protocol has been completely abandoned. TCP Head-of-Line Blocking We know that during TCP transmission, data … Read more