TCP IP vs UDP

TCP IP vs UDP

Netizen Comments @TeaDelivery:Three-way handshake @BH1SMB:TCP: Starts boasting after three-way handshake, UDP: I sent it, whether you see it or not is none of my business… @Vine:I still prefer “What are you looking at?” “What are you gonna do about it?” “Come here, let’s chat” @RAVI-Li:No matter if you listen or not, I’m just a UDP … Read more

TCP/IP Protocol Basics: TCP and UDP Explained

TCP/IP Protocol Basics: TCP and UDP Explained

Click the image | Get the latest information in the network engineering industry Network programming has three elements: IP address, port number, and communication protocol. This time we will mainly discuss the TCP and UDP communication protocols and their implementation in programming. IP AddressComputers in the network use IP addresses for unique identification. There are … Read more

TCP/IP Protocol Processing Flow

TCP/IP Protocol Processing Flow

Click the above blue text to follow the Network Technology Platform When a user issues a command using the TCP/IP application layer protocol, a series of events is triggered. The user’s command or message is sent through the TCP/IP stack on the local machine and then reaches the receiving protocol over the network medium. Each … Read more

Discussing TCP/IP Essentials

Discussing TCP/IP Essentials

Quality article, delivered on time First, let’s present the mind map of this article TCP, as a protocol of the transport layer, is a reflection of a software engineer’s quality and is often a topic of discussion in interviews. Here, I have sorted out some core issues related to TCP to help everyone. 001. Can … Read more

Analysis of TCP/IP/ARP/ICMP Headers

Analysis of TCP/IP/ARP/ICMP Headers

1. OSI Model About the OSI seven-layer model: Application layer, Presentation layer, Session layer, Transport layer, Network layer, Data Link layer, and Physical layer. The seven-layer model and the protocols applied at each layer are shown in the figure below. So what protocols are used at each layer? We list some commonly used protocols in … Read more

An In-Depth Summary of TCP/IP Network Protocols

An In-Depth Summary of TCP/IP Network Protocols

Recently, I worked on a development project involving network programming. The development process went smoothly, but after completing the task, I still felt some confusion. This was mainly due to my unfamiliarity with network protocols and my lack of clarity on some concepts. Later, I spent some time understanding these network protocols, and I now … Read more

Differences and Relationships Between TCP, UDP, and HTTP

Differences and Relationships Between TCP, UDP, and HTTP

1. The TPC/IP protocol is a transport layer protocol, primarily addressing how data is transmitted over the network, while HTTP is an application layer protocol, mainly focused on how to package data. Regarding the relationship between TCP/IP and HTTP protocols, there is a relatively easy-to-understand introduction: “When we transmit data, we can use only the … 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

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