socket network programming based on TCP protocol
socket network programming based on TCP protocol
1, What is socket
1. Introduction:
After understanding the osI seven layer protocol, we can see that there is a socket abstraction layer between the application layer and the transport layer. The abstraction layer here does not exist in the osI seven layer protocol. The socket abstraction ...
Posted by iffy on Mon, 07 Mar 2022 19:35:07 +0100
Interface test with jmeter
Product to be tested: server_linux (random name)
Server: linux, 1-core 2G
Steps:
1. Connect the local server_ Put the Linux package on the server
#Install lrzsz first
ubuntu@VM-0-12-ubuntu:~$ sudo apt install lrzsz
Reading package lists... Done
Building dependency tree
Reading state information... Done
lrzsz is already the newest ver ...
Posted by QWERTYtech on Mon, 07 Mar 2022 19:34:04 +0100
Sekiro + Xposed signature solution
1, Target
Previously introduced Public network ip update scheme of android real machine signature However, many friends left a message saying that there is no public ip in their ADSL, so they can't play.
To solve this problem, another solution is to use frp intranet penetration, but it is not very stable in the actual use process.
sekiro, wh ...
Posted by m4rw3r on Mon, 07 Mar 2022 19:28:12 +0100
Algorithm Title: regular expression matching (title + idea + code + comment)
subject
Regular Expression Matching Give you a string s and a character rule p, please implement a support '.' Matches the regular expression of '*'.
‘.’ Match any single character '*' matches zero or more preceding elements The so-called matching is to cover the whole string s, not part of the string.
Example 1:
Input: s = &q ...
Posted by Robert Plank on Mon, 07 Mar 2022 19:20:41 +0100
The fourth class of C language
Key points of the fourth course of C language
(1) : review pointer size: the pointer size can only be 4 bytes (32b) in x86 and 8 bytes (64b) in x64. Because the pointer stores the first address.
(2) struct: a new type is designed and designed by the program developer.
struct student
{
};//Semicolon required
struct student
{
char s_id[10 ...
Posted by miniramen on Mon, 07 Mar 2022 19:14:12 +0100
02-SpringIoC and DI Annotation Development
1.Spring Configuration Data Source
1.1 Role of data sources (connection pools)
Data sources (connection pools) are available to improve program performance
Pre-instantiate the data source to initialize partial connection resources
Get from data source when using connection resources
Return the connected resource to the data source after us ...
Posted by anthonyfellows on Mon, 07 Mar 2022 19:11:53 +0100
[webmaster tool] how do I save my personal website after jsdelivr hangs up (halo)
preface
As we all know, at the end of last year, jsdelivr, a well-known free CDN service provider, had no domestic CDN acceleration due to the problem of domain name filing in the mainland. At present, it can only be parsed overseas, which is not only slow, but also occasionally unable to connect to the server. Therefore, many domestic website ...
Posted by hurricane on Mon, 07 Mar 2022 19:09:00 +0100
Design patterns involved in Spring
Summary of design patterns involved in Spring
Simple factory implementation: BeanFactory. BeanFactory in Spring is a reflection of simple factory mode, which obtains Bean objects by passing in a unique identity, but whether this is created after or before the parameter is passed in depends on the situation.Factory method implementation: Factor ...
Posted by zeberdeee on Mon, 07 Mar 2022 18:51:15 +0100
Java Virtual Machine with 5K Pay Up: Garbage Collection, Serial GC, Card Table Do you want to learn?
Serial GC
Article Starting Public Number: Java Architect Consortium, Daily Update of Technical Good Text
Weak Generation Hypothesis
Serial GC is the most classic and oldest garbage collector, opened with -XX:+UseSerialGC. Its Java heap conforms to the Weak Generational Hypothesis. The implication of the weak generation hypothesis is that mos ...
Posted by brauchii on Mon, 07 Mar 2022 18:37:16 +0100
C + + improve programming -- STL common algorithm: common sorting algorithm
3. Common sorting algorithms
learning objective: master common sorting algorithms.
introduction to algorithm:
Sort / / sort the elements in the containerrandom_shuffle / / shuffle and randomly adjust the order of elements within the specified rangeMerge / / merge container elements and store them ...
Posted by admin on Mon, 07 Mar 2022 18:24:47 +0100