mqttclient package for RT-Thread

About the mqttclient package This is a cross-platform MQTT client based on socket API. It has a very simple API interface, achieves QOS2 quality of service with very few resources, and seamlessly connects mbedtls encryption library. Advantages: Developed on top of standard BSD sockets, systems compa ...

Posted on Thu, 27 Feb 2020 22:13:58 -0500 by AdamBrill

Kafka entry cluster deployment

1, Overview of Kafka Kafka is a distributed Message Queue based on publish / subscribe mode, which is mainly used in Real time processing of big data. 2, Two modes of message queuing (1) Point to point mode (one-to-one, consumers pull data actively, and messages are cleared after receiving) The mess ...

Posted on Wed, 26 Feb 2020 00:35:11 -0500 by techi3

Data structure - linked list

Memory Let's talk about memory first The code area stores the code of the program, that is, the machine instructions executed by the CPU, and is read-only; The global area stores the defined global variables; The stack area stores the defined local variables, and the system automatically recycles and ...

Posted on Tue, 25 Feb 2020 07:31:10 -0500 by Jeremias

Qt Creator source code analysis series - extensionsystem::PluginManager

PluginManager The ExtensionSystem namespace provides classes that belong to the core plug-in system. The basic extension system contains the plug-in manager and its supporting classes, as well as the IPlugin interface that must be implemented by the plug-in provider. The ExtensionSystem::PluginManager ...

Posted on Tue, 25 Feb 2020 05:37:59 -0500 by geowulf

Code templates for socket s in Java

Java's socket code is written differently from C.The language's code is concise and deep, and Java is complex to write, but not so difficult to understand, so take a look at the template here to prevent future forgetting that there are four files, ServiceServer.java (for creating a socket server), ServiceTask.java (for services ...

Posted on Mon, 24 Feb 2020 11:10:19 -0500 by FastLaneHosting

Code templates for socket s in Java

Java's socket code is written differently from C.The language's code is concise and deep, and Java is complex to write, but not so difficult to understand, so take a look at the template here to prevent future forgetting that there are four files, ServiceServer.java (for creating a socket server), ServiceTask.java (for services ...

Posted on Mon, 24 Feb 2020 11:10:54 -0500 by snowman15

Code templates for socket s in Java

Java's socket code is written differently from C.The language's code is concise and deep, and Java is complex to write, but not so difficult to understand, so take a look at the template here to prevent future forgetting that there are four files, ServiceServer.java (for creating a socket server), ServiceTask.java (for services ...

Posted on Mon, 24 Feb 2020 11:11:50 -0500 by runeveryday

Best practice: Custom monitoring network layer metrics

How to monitor the TCP/UDP connection status indicators deployed in the cloud server network layer? It is recommended that you use cloud monitoring - Custom monitoring! At present, it is free to use in the internal test stage, without audit, and ready to use when the service is opened. Welcome to click ...

Posted on Fri, 14 Feb 2020 04:55:33 -0500 by Anant

Android realizes TCP client, supports reading and writing

In the last chapter 14.Android - using sendMessage threads to communicate with each other We learned how to send data between threads Next, we will learn how to read and write TCP through socket It should be noted that the socket must be written in the sub thread and cannot be used directly in the main ui thread, so we have created two class es ...

Posted on Thu, 13 Feb 2020 12:26:58 -0500 by newbtophp

python sandbox escape

Catalog 1. Preparation python has built-in modules for executing system commands: subprocess os commands timeit paltform pty Functions that execute system commands Two magic methods Functions that can execute arbitrary code in python Library imported into os or sys 2. Sandbox escape Fancy import ...

Posted on Wed, 12 Feb 2020 22:38:57 -0500 by wonderman