Simple TCP client program based on QTcpsocket

Code connection: Local path (for Copy code): H disk / Baidu online disk: / program backup / QT/QT_EasyClient.zip 1. introduction In fact, the [QTcpsocket](https://doc.qt.io/archives/qt-5.6/qtcpsocket.html) in the Qt network module has been well encapsulated, avoiding the tedious process of programming ...

Posted on Fri, 17 Jan 2020 09:49:33 -0500 by Joe

Introduction to network socket programming

The following is a Li's understanding of socket programming, hoping to help you; if there are errors, please point out generously; 1: Socket programming preparation 2: Introduction of socket api 3: The introduction and implementation of client / server of udp protocol 4: The introduction and impl ...

Posted on Fri, 17 Jan 2020 09:21:16 -0500 by thirdeye

On Dart language learning by Flutter

Dart is a new language for me. In order to develop Flutter better, I need to spend some time to learn dart. But Dart seems to be easier to use~ 1. Variable declaration 1. var It can accept any type of variable. As long as var is assigned, its type will be determined and cannot be changed. 2. dynamic a ...

Posted on Fri, 17 Jan 2020 05:47:19 -0500 by lvitup

Transplantation of Openwrt1806 on Quanzhi H3 (Ginkgo biloba icore5)

Written in the front H3 has many development boards for reference, mainly including nanopi, orange PI, etc. most of these development boards support debian systems. For the purpose of learning, they want to run an openwrt. Openwrt18.06 has supported many boards of Quanzhi. Here we mainly refer to nanopi-m1-plus Configuration and principle of op ...

Posted on Fri, 17 Jan 2020 05:46:32 -0500 by AffApprentice

vue learning notes

vue basic instructions v-if ,v-else, v-show,v-else-if v-for v-text v-html v-on v-model v-bind v-pre v-cloak v-once v-if ,v-else, v-show,v-else-if The if logic example of v-if similar to js is as follows, which will be displayed only when isLogin is true v-else-if, v-else and v-if must be used tog ...

Posted on Fri, 17 Jan 2020 01:21:58 -0500 by gid

Java design pattern: composite pattern

Combination mode Composite, which combines objects into a tree structure to represent the "part whole" hierarchy. The combination mode makes the use of single object and combination object consistent. Analysis of combination mode Role introduction Component: the object in the compositio ...

Posted on Thu, 16 Jan 2020 13:46:51 -0500 by Revos

Learning BroadcastReceiver Summary - continuous update

Android provides broadcast sending and receiving mechanisms. The broadcaster is Android system and Application. The Action constant of Android system broadcast is defined in the Intent class (as shown below). For details, please refer to Android API documentation. public class Intent extends Object imp ...

Posted on Thu, 16 Jan 2020 11:54:46 -0500 by DavidT

redis programming for python learning

Redis introduction The abbreviation of Redis(Remote Dictionary Server) remote dictionary data service, which is provided by ItalyWhat we developed is a memory cache database. It is written in ANSI C language, supports network, and can be based onIt can also store log and key value databases that can be persisted, and provide API s in multiple ...

Posted on Thu, 16 Jan 2020 10:02:55 -0500 by thebay

qt install qmatt library steps, personal experience, record

A few days ago, I wanted to simulate the connection between Internet of things terminals and Alibaba cloud on win10 computer. I wanted to find a software tool to try, but I had to pay for it... I can't find the right one! ε = ('οο ')) well, I have to do it myself. After think ...

Posted on Thu, 16 Jan 2020 10:00:44 -0500 by adzie

NIO synchronous and asynchronous blocking -- transition to netty (an asynchronous event driven network application framework)

BIO and NIO IO is in the form of synchronous blocking and NIO is in the form of synchronous non blocking. NIO does not realize asynchronous. After JDK 1.7, NIO library package is upgraded to support asynchronous non blocking Schoolmate model NIO2.0(AIO) BIO: synchronous blocking IO. The server impleme ...

Posted on Thu, 16 Jan 2020 08:43:13 -0500 by JennyG