First, we need to answer a question: why should we learn to implement the user state protocol stack? From a technical point of view, it is mainly because the user state network protocol stack is more efficient. The second is that the user state protocol stack can be customized. More efficient is mainly aimed at copying the networ ...
Posted by ailgup on Sun, 05 Dec 2021 10:41:57 -0800
First of all, what do we need to know about the process?
Narrow sense: a process is an ongoing program
Generalized: it is the basic unit of operating system allocation
Program: it is an inanimate entity waiting for the processor to give life. Once the program has life, it becomes a process.
Differences between procedures and processes: ...
Posted by lowspeed on Fri, 03 Dec 2021 18:42:24 -0800
The "ip address" of the network layer can uniquely identify the host in the network, while the "port" of the transport layer can uniquely identify the application (process) in the host. In this way, triples (ip address, protocol, port) are used The process of the network can be identified, and the proces ...
Posted by dimkasmir on Thu, 02 Dec 2021 11:57:34 -0800
As we all know, the server and client of Minecraft are separated. The client and the server communicate with each other through TCP / IP (especially Java version and UDP version) (so we need to configure the port property of server.properties on the server and the input required for client connection & ...
Posted by Xproterg^vi on Wed, 01 Dec 2021 15:28:20 -0800
Recommended by Haowen: Author: Ricardo mjiang
At the end of July this year, Google officially released the 1.0 stable version of Jetpack Compose, which shows that Google believes that Compose can be used in the production environment. I believe that the wide application of Compose is in the near future. Now should be a better time t ...
Posted by abo28 on Wed, 24 Nov 2021 00:31:08 -0800
At the beginning of learning the development method of combining C + + and QT, some good tutorials will be moved to their own blog to facilitate future search and learning. This time, a detailed tutorial and code example of udp module are reproduced;
UDP(User Datagram Protocol) is a lightweight, unreliable, datagram oriented and connectionless ...
Posted by ripcurlksm on Tue, 23 Nov 2021 20:09:47 -0800
3.5.7 sub network division
Sub network division: divide a large network (with more hosts) into multiple small networks (with less hosts), reduce the number of host ID bits, increase the number of network ID bits, and borrow the network ID bit from the host ID bit
The number of subnets divided is determined by the bits borrowed from the host I ...
Posted by Darghon on Tue, 16 Nov 2021 02:00:41 -0800
Browser access Servlet process:
HttpServletResponse object: It inherits from the ServletResponse interface and is specially used to encapsulate HTTP response messages. It defines the method of sending response status code, response message header and response message body to the client.
Methods related to sending status codes include: 1. set ...
Posted by freynolds on Tue, 16 Nov 2021 01:11:34 -0800
1. Architecture of Servlet
Servlet - Interface
GenericServlet - Abstract Class
HttpServlet - Abstract Class
GenericServlet: Default empty implementation of the rest of the Servlet interface, using only the service() method as an abstraction
When defining a Servlet class in the future, you can inherit t ...
Posted by selliott on Thu, 11 Nov 2021 08:13:56 -0800