Finally, someone understood the TCP protocol and UDP protocol

There are three elements of network programming, namely IP address, port number and communication protocol. This paper mainly describes the two communication protocols of TCP and UDP, as well as the implementation of programming. First, we need to know about IP address, port number and communication protocol. 1, IP address Computers in the n ...

Added by toniknik1982 on Fri, 21 Jan 2022 03:40:44 +0200

Basic concepts and preliminary learning in Netty

Important concepts Channel channel is one of the core concepts of Netty. It is the main body of Netty network communication. It is responsible for network communication, registration and data operation with the opposite end. Every time Netty establishes a connection, there will be a corresponding channel instance, and there is the concept o ...

Added by sharma on Tue, 18 Jan 2022 20:43:10 +0200

Principle and configuration of DHCP

DHCP belongs to application layer protocol port 67 server 68 client UDP How DHCP works Understanding DHCP services DHCP(Dynamic Host Configuration Protocol)Designed and developed by lnternet task forceA protocol designed to automatically assign TCP/IP parameters to computers in a TCP/IP network Benefits of using DHCP Reduce administrat ...

Added by phpcoding2 on Tue, 11 Jan 2022 18:48:24 +0200

Detailed flow and example of TCP and UDP based on socket network programming technology

There are too many explanations of specific functions. Analyze them by yourself according to the program. You can refer to this article: https://blog.csdn.net/qq_41687938/article/details/119102328?spm=1001.2014.3001.5501 https://blog.csdn.net/weixin_42193813/article/details/105666316 catalogue 1, socket 1.1 socket overview 1.2 introduc ...

Added by martinstan on Tue, 11 Jan 2022 01:24:34 +0200

java supplement: network programming

1 Overview Computer network: It refers to a computer system that connects multiple computers and their external devices with independent functions in different geographical locations through communication lines and realizes resource sharing and information transmission under the management and coordination of network operating system, network ...

Added by 930913 on Thu, 30 Dec 2021 16:57:12 +0200

14 multicast and broadcast && 15 sockets and standard IO

** Chapter XIV multicast and broadcasting ** Suppose we want to send the same data to 10000 users. If TCP is used to provide services, 10000 socket connections are required. Even if UDP sockets are used to provide services, 10000 data transmissions are required. When the same data needs to be sent to a large number of clients, it will have a ...

Added by jpmoriarty on Fri, 24 Dec 2021 06:05:57 +0200

ip address introduction

1, Role of mask 1.1 the mask is 32bit from left to right, with 1 on the left and 0 on the right, and 1 cannot be interrupted 1.2 the mask is used to divide the network part and the host part of the ip address 192.168.1.1 255.255.255.0 11000000 10101000 00000001 00000001 IP address 11111111 11111111 11111111 00000000 Mask 11000000 101010 ...

Added by kfir91 on Mon, 22 Nov 2021 22:49:48 +0200

http protocol and gin

socket programming and tcp Since tcp/ip protocols are encapsulated on the bottom layer of the operating system, in order to avoid the application layer directly calling the methods of the operating system, the operating system provides a socket interface, which is called by the application layer. The socket interface is divided into tcpSocket ...

Added by Shuriken1 on Thu, 11 Nov 2021 01:49:28 +0200

Preliminary understanding of UDP

Reference link: UDP based server and client_ C language Chinese network  1, IP address, port, communication protocol     1. IP address         Computers in the network use IP addresses for unique identification.       2. Port number         Port number is an integer numb ...

Added by fatbobo on Fri, 08 Oct 2021 07:14:27 +0300

Fundamentals of java socket network programming

network model Difference between TCP protocol and UDP protocol The underlying implementation principle of Http protocol. What is a network model The essence of network programming is the data exchange between two devices. Of course, in computer network In, equipment mainly refers to computers. Data transmission itself is not very difficu ...

Added by silversinner on Tue, 05 Oct 2021 00:21:02 +0300