Ubuntu 18.04 static IP configuration

My Ubuntu is installed with VMware and connected with. nat. By default, VMware will automatically assign one of the many ip addresses to the virtual machine installed with. nat, that is, the ip address may change. The steps to configure a static IP address are as follows:          (1) Open VMware's virtua ...

Posted by dave_55 on Tue, 02 Nov 2021 02:50:45 -0700

Use of current limiting middleware IpRateLimitMiddleware

preface IpRateLimitMiddleware(Github: AspNetCoreRateLimit )It is a flow limiting middleware of ASPNETCore, which is used to control the frequency of API calls by the client. If the client frequently accesses the server, it can limit its frequency and reduce the pressure of accessing the server. Or if a crawler is crawling key data, it can also ...

Posted by ineedhelp on Sun, 31 Oct 2021 18:52:06 -0700

Quick start to C + + network programming: the basic process of TCP network communication and the use of basic functions

Process Overview The basic principle of network communication between client and server is as follows. Message oriented middleware may be added to a more complex architecture. For the server, the communication process is as follows: 1,call socket Function create listener socket 2,call bind Function will socket Bind to a IP And port nu ...

Posted by wolfraider on Tue, 26 Oct 2021 05:42:52 -0700

JAVA obtains data through tcp communication and LabVIEW BCL 308i code scanning gun

        Recently, a code scanning gun will be integrated in the project, and I will be responsible for docking. I have to say, this code scanning gun is really the most annoying I've ever seen. The first is the hardware, which needs to be assembled by yourself, and then the network cable needs to make one to connect to thei ...

Posted by toivo on Fri, 22 Oct 2021 03:53:00 -0700

SYN Flood Attacks Implemented by Python Socket Programming and TCP Protocol

Preface Over the years, I have been crawling in the it industry. Along the way, I have summarized a number of high-frequency interviews in python industry. I have seen most of the new blood, and I still have a variety of difficult questions or answers for a variety of interview questions. So I've developed a treasure book of interviews myself ...

Posted by tmyonline on Thu, 21 Oct 2021 10:46:27 -0700

The second section is network programming of Linux programming

1, Overview of network programming Network: Address (including IP address and port number)Data exchange (involving protocols such as http, tcp and UDP, in other words, data format)MCU will use port number protocol (uart) Introduction to network programming all talk about sockets (sockets are divided into two types: tcp and UDP): TCP: connec ...

Posted by iamyespee on Thu, 21 Oct 2021 06:45:57 -0700

Understanding TCP's three grips and four swings from an online fault & from Java stack analysis to source code exploration

Introduction to this article: Production failure scenario introductionTCP connection establishment three times handshake processTCP disconnection four wave processAnalyze the source code with Java stackThen find the "culprit" from the stackProblem optimization scheme summary 1. Production failure scenario introduction Business prof ...

Posted by tc61380 on Tue, 19 Oct 2021 00:11:40 -0700

Solve the problem of creating too many threads for Go file operation

Solve the problem of creating too many threads for Go file operation github code repository A remote file performance test service implemented using Go. It is used to record the tuning process and solve the problem of too many threads created by Go processing blocked file IO. 1. Configuration There is a config.json configuration file on the ...

Posted by sarabjit on Mon, 18 Oct 2021 11:34:54 -0700

Embedded-Lwip Development Guide Chapter 5 LWIP Speed Measurement

Recently, a netizen is asking about the speed of LWIP. This article will do a simple test on the speed of LWIP. For comparison, this article will use both non-system and system environments. Introduction of 5.1 Network Speed Measuring Tool However, before measuring speed, you need to introduce the following speed measuring tools, there are tw ...

Posted by desmond_ckl on Sun, 17 Oct 2021 09:38:08 -0700

Week 5, September 22, 2021

1. Briefly describe osi seven layer model and TCP/IP five layer model OSI reference model The Open System Interconnection Reference Model is a conceptual model proposed by the international organization for standardization. It divides the computer network architecture into the following seven layers: Application Layer: as a window for ...

Posted by rakuci on Fri, 15 Oct 2021 13:19:29 -0700