Java notes: network programming

1. Overview of network programming Java is a language on the Internet. It provides support for network applications at the language level. Programmers can easily develop common network applicationsThe network class library provided by java can realize painless network connection. The underlying details of networking are hidden in the Java Nati ...

Posted by woolyg on Tue, 15 Feb 2022 04:20:35 +0100

Java foundation - network programming

B/S and C/S architecture B/S: Browser / server, which interacts with the server based on the browser program C/S: client / server, which interacts with the server based on the client program Java write server program 1. Meet business needs 2. Handle high concurrency 3. Big data processing Network protocol Syntax: structure of ...

Posted by furma on Mon, 14 Feb 2022 03:02:36 +0100

tcp stack implementation, tcp timer and sliding window

To realize user state protocol stack, we must understand TCP, 11 states of TCP, sliding window, congestion control, timer and so on. To use the user state protocol stack, the epoll provided by the kernel will not work. We need to implement the user state epoll ourselves. Epoll involves a callback opportunity. The callback function is to add th ...

Posted by LDM2009 on Fri, 11 Feb 2022 12:07:35 +0100

Network programming - Understanding

computer network It refers to a computer system in which multiple computers and their external devices with independent functions in different geographical locations are connected through communication lines to realize resource sharing and information transmission under the management and coordination of network operating system, network manag ...

Posted by BAM1979 on Thu, 10 Feb 2022 06:43:36 +0100

30000 word express Servlet

catalogue 1, What is a Servlet Manually implement Servlet program 2, Common configuration errors 3, How to locate the Servlet URL to the Servlet program for access 4, Servlet lifecycle Servlet lifecycle summary 5, Distribution processing of Servlet request Vi. realize Servlet program by inheriting HttpServlet VII. Create Servlet progra ...

Posted by qbox on Thu, 10 Feb 2022 04:56:48 +0100

Linux network protocol stack 9--ipsec packet sending and receiving process

IPSec protocol helps the IP layer establish a secure and trusted packet transmission channel. At present, more mature and stable open source projects such as strongswan and openswan have been controlled by the protocol layer. But in the end, they all use the XFRM framework of the kernel to package, send, receive and unseal messages, but the for ...

Posted by The Swedish Tower on Fri, 04 Feb 2022 04:58:22 +0100

Linux network protocol stack 7--macvlan

macvlan is a virtual network interface of linux. macvlan allows you to configure multiple virtual network interfaces on one network interface of the host. These network interfaces have their own independent mac address and can also be configured with ip address for communication. The virtual machine or container network under mac VLAN shares th ...

Posted by dewen on Fri, 04 Feb 2022 04:53:49 +0100

(teaching-08-01) 20203 digital opening and closing (maximum number of questions with fixed answers)

Design idea: <(teaching-06) maximum number of addition and subtraction methods within 20 (optimized version 20220122 vs Python addition and subtraction method within 20) >The code can randomly generate up to addition questions and addition questions within x. A Xia tried to modify the code to make the list questions and quantity of &quot ...

Posted by l053r on Thu, 03 Feb 2022 20:57:59 +0100

Linux network protocol stack 3--neighbor subsystem

Neighbors can be simply understood as one hop distance on the third floor. The next hop of the route may not be the one hop distance of the direct connection (iterative routing), but it is the one hop distance when it finally reaches the neighbor subsystem. Usage of linux iterative Routing: https://www.jianshu.com/p/070202b6d3ca The neighbor s ...

Posted by Spaceboy on Thu, 03 Feb 2022 12:58:20 +0100

My QT Creator learning notes -- UDP and TCP in network programming

Reference: Qt Creator quick start, Third Edition, edited by Huo Yafei 1,UDP UDP(User Datagram Protocol) is a lightweight, unreliable, datagram oriented and connectionless protocol, which is used when reliability is not very important. UDP is generally divided into sender and receiver. QUdpSocket class is used to send and receive UDP datagram ...

Posted by []InTeR[] on Mon, 31 Jan 2022 08:23:40 +0100