7. W5100S/W5500+RP2040 Raspberry Pi Pico<UDP Multicast>

Article directory 1 Introduction 2. Related introduction 2.1 Brief description 2.2 Advantages 2.3 Application 3. WIZnet Ethernet chip 4. UDP multicast loopback test 4.1 Program flow chart 4.2 Test preparation 4.3 Connection method 4.4 Related code 4.5 Test phenomena 5. Precautions 6. Related links 1. Preface UDP multicast is a communication method based on the […]

Implementation of network communication programming based on UDP/TCP

Xiao Wang’s Study Record Today’s Chicken Soup Socket Implement a network communication program based on UDP DatagramSocket class DatagramPacket class UDP-based server-side code UDP-based client code Implement a network communication program based on TCP ServerSocket class Socket class TCP-based server-side code TCP-based client code Optimized server-side code Replenish TCP long and short connections IO multiplexing […]

Point-to-point C/S network communication model based on UDP (code comments are the important stuff)

1. Briefly explain what is UDP? UDP (User Datagram Protocol) is a connectionless network communication protocol. Compared with the TCP protocol, this protocol does not need to establish a connection before communication, but it does not maintain the connection status. It sends faster but does not guarantee data reliability. Therefore, UDP is more suitable for […]

[Network Programming] Transport layer – UDP protocol

Article directory 1. Transport layer 1. Let’s talk about port numbers again 2. Port number range division 3. Know the well-known port numbers 4. Two questions 5. netstat and pidof 2. UDP protocol 1. UDP protocol format 2. Characteristics of UDP protocol 3. Datagram-oriented 4. UDP buffer 5. Things to note when using UDP 6. […]

Simple implementation of TCP and UDP

The difference between TCP and UDP TCP: 1. Before using the TCP protocol, a reliable TCP connection must be established to form a channel for transmitting data. 2. Before transmission, the “three-way handshake” method is used, and point-to-point communication is reliable. 3. Two application processes that communicate using the TCP protocol: client and server. 4. […]

TCP/UDP concepts + experiments (network planning top-down)

Github source code moranzcw/Computer-Networking-A-Top-Down-Approach-NOTES: “Computer Network-Top-Down Approach (Original Book 6th Edition)” programming assignment, translation and solution of Wireshark experimental documentation. (github.com) It is tentatively planned to be divided into two steps, with the video of the University of Science and Technology of China’s Black Book on Accounting Network as the front part. Step 1: Complete […]

[JavaEE] Network programming—UDP datagram socket programming

1. UDP datagram socket programming 1.1 DatagramSocket API DatagramSocket is a UDP Socket, used to send and receive UDP datagrams. DatagramSocket Construction method: DatagramSocket method: 1.2 DatagramPacket API DatagramPacket is a datagram sent and received by UDP Socket. DatagramPacket Construction method: DatagramPacket Method: When constructing the datagram sent by UDP, you need to pass in […]