Handwritten RPC core module network protocol module writing -- implementation of codec

The previous foundation has been written. Now let's implement the encoder. Why do I need an encoder? netty is only responsible for transmitting data. It doesn't care what the data looks like. As mentioned earlier, the custom protocol is to organize, transmit and decode the data we want to transmit according to our rules. The encoder is to organ ...

Posted on Mon, 06 Dec 2021 17:33:32 -0500 by AncientSage

Streaming media network protocol -- HLS

Introduction to HLS HLS (HTTP Live Streaming), fully known as HTTP Live Streaming, is a media streaming protocol based on HTTP proposed by Apple company to realize the transmission of real-time audio and video streaming. 1. Principle The server cuts the code stream into small media segments (usually one in 10 seconds) that can be downl ...

Posted on Sun, 05 Dec 2021 20:44:14 -0500 by mj_23

Handwritten RPC core module network protocol module -- user defined protocol

Custom protocol? When I first heard this term, I felt so tall! After learning this class later, I found that the so-called user-defined protocol is to define a set of data transmission rules. So you don't necessarily understand We know that only binary can be transmitted in the network, so before RPC requests are sent to the network, they need ...

Posted on Sun, 05 Dec 2021 08:24:20 -0500 by wmguk

Detailed explanation of the use of mwArray array in Qt and Matlab mixed programming

Original link: https://blog.csdn.net/HongAndYi/article/details/79477031 content validity In the basic flow of Qt 5.9 and matlab 2017b mixed programming, the basic flow of MATLAB and C + + mixed programming is introduced. After the flow is through, the key is to realize the function through the function in DLL. The function compiled by MA ...

Posted on Wed, 01 Dec 2021 11:06:46 -0500 by Cannibal_Monkey

Front end day 6 array / function / common built-in object / pre parsing / object / error

1. Array 1. Why learn arrays For the previously learned data type, only one value can be stored (for example, Number/String). If we want to store the names of all students in the class, how should we store them? 2. Definition of array The so-called array is to arrange multiple elements (usually of the same type) in a set in a certain order ...

Posted on Thu, 18 Nov 2021 08:51:40 -0500 by bolter

OkHttp source code analysis

Before analyzing the core processes of OkHttp and the core classes, let's clarify two concepts: one is the builder mode used by OkHttpClient and Request when they are created; The other is the interceptor mode responsible for response processing; Analysis of builder mode of OkHttpClient/Request Basic concepts The builder (also known as the b ...

Posted on Fri, 12 Nov 2021 00:38:48 -0500 by dlf1987

Getting started with basics - packet expansion

Getting started with basics - packet expansion Website resolution correspondence briefly Website construction process Attack level involved Source code, build platform, system, network layer, etc Safety issues involved Directory, sensitive file, weak password, IP and domain name, etc HTTP/S packet Browser direct access to server Re ...

Posted on Mon, 01 Nov 2021 05:30:12 -0400 by neo926

Persistence, protocol, high availability cluster in ActiveMQ

preface This article will analyze ActiveMQ from the aspects of message storage in MQ, removal process, persistent storage timing of persistent messages, which persistent storage methods ActiveMQ supports, how to configure persistent storage methods, protocols and transmission methods ActiveMQ supports, highly available clusters and applicable ...

Posted on Tue, 26 Oct 2021 08:25:17 -0400 by Matt Phelps

Http server realizes file upload and download

1, Introduction Welcome to write it with me Http The server realizes file upload and download. Now I review some contents mentioned in the previous chapter. I have mentioned file download before. In file download, I also mentioned file continuous download, which only needs to be filled in the response header Content-Range This field, and the ...

Posted on Mon, 25 Oct 2021 02:55:02 -0400 by Morthian

Access control list (ACL)

Access control list (ACL) catalogue Function and principle of access control list (ACL) Direction of access control list in interface application Type of ACL Application rules and principles of ACL Basic instruction Function and principle of access control list (ACL) Used to restrict access control (discard or release) of data packetsCo ...

Posted on Fri, 22 Oct 2021 22:27:08 -0400 by ejwf