Principle of OC message sending and forwarding mechanism

Objective-C (OC) is an object-oriented programming language with unique mechanisms in message passing and method invocation. In OC, objects call methods through messages instead of calling functions directly like traditional programming languages. This article will deeply explore the principles of OC’s message sending and forwarding mechanism, including its basic concepts, implementation process, code examples, and […]

Reference folding, universal reference, rvalue reference, move, perfect forwarding

Hello everyone, my name is Xu Jintong, and my personal blog address is www.xujintong.com. I usually record the knowledge gained in the process of learning computers, as well as my daily tossing experience. Everyone is welcome to visit. I will write a note here to record the problems I encountered when writing STL source code. […]

Spring Cloud Gateway gateway forwarding websocket service configuration

Spring Cloud Gateway is the unified entrance for all microservices. 1. Spring Cloud Gateway key terms Route: Routing, the basic component module of gateway configuration. A Route module is defined by an ID, a target URI, a set of assertions, and a set of filters. If the assertion is true, the route matches and the […]

Reference folding, universal reference, rvalue reference, move, perfect forwarding

Hello everyone, my name is Xu Jintong, and my personal blog address is www.xujintong.com. I usually record the knowledge gained in the process of learning computers, as well as the daily tossing experience. Everyone is welcome to visit. I will write a note here to record the problems I encountered when writing STL source code. […]

lnmp architecture deploys Discuz forum and configures redirection forwarding

lnmp architecture deploys Discuz forum and configures redirection forwarding Article directory lnmp architecture deploys Discuz forum and configures redirection forwarding Environmental Statement Deploy Discuz forum system Download the Discuz forum system code package, the official website address is as follows: Steps to deploy Discuz forum system: Unzip and install the Discuz source package Configure virtual […]

SpringBoot server implements interface proxy forwarding and can also perform secondary processing of data.

Today I want to implement a function: ” Use Java + SpringBoot server to implement interface proxy forwarding, perform secondary processing on the data, and then return it to the client. ” Background: As the upstream server of the client, the Java server needs to be responsible for returning all request data. Even if it […]

rtsp video decoding-analysis-forwarding http-flv ws-flv webrtc

rtsp decoding Use live555, receive in a thread class c_rtspthread:public c_thread { int v_headlen = 0; c_rtsp *v_rtsp = nullptr; //32-bit hash value uint32_t v_key = 0;//hash(live/1001); uint32_t _recv_stamp = 0; uint32_t _first_stamp = 0; sp_buffer _spbuffer; c_flvserver *v_flv; std::string v_livename;//live/1001 private: //decode use it AVCodec *v_codec = NULL; AVCodecContext *v_codecctx = NULL; AVFrame *v_frame […]

Redsocks traffic forwarding combined with iptables traffic transparent transmission under Linux appears socket: Too many open files and connect: Bad file descriptor

Under Linux, redsocks traffic forwarding combined with iptables traffic transparent transmission appears socket: Too many open files and connect: Bad file descriptor. Oct 8 18:59:34 localhost redsocks[26193]: connect: Bad file descriptor Oct 8 18:59:34 localhost redsocks[26193]: [192.168.10.10:53318->124.225.191.19:443]: red_connect_relay: Bad file descriptor Oct 8 18:59:34 localhost redsocks[26193]: [192.168.10.10:53318->124.225.191.19:443]: dropping client (R/W), relay (R/W), idle 0.000234s Oct […]

[C++] C++11 – rvalue reference and move semantics, lvalue reference and rvalue reference, rvalue reference usage scenarios and meaning, perfect forwarding, new class functions

Article directory C++11 5. Rvalue references and move semantics 5.1 lvalue references and rvalue references 5.2 Comparison between lvalue reference and rvalue reference 5.3 Usage scenarios and significance of rvalue references 5.4 rvalue reference reference lvalue and some more in-depth analysis of usage scenarios 5.5 Perfect forwarding 6. New class functions C++11 5. Rvalue reference […]