Epic strongest textbook style "NIO and Netty programming"
Epic strongest textbook style "NIO and Netty programming"
1.1 Overview
1.2 File IO
1.2.1 Overview and Core API s
1.2.2 Cases
1.3 Network IO
1.3.1 Overview and Core API s
3.4 AIO Programming
3.5 IO Comparison Summary
4.1 Overview
4.2 Netty Overall Design
4.2.1 Thread Model
4.2.2 Asynchronous Model
4.3 Core API
Star ...
Posted by RiBlanced on Sat, 17 Aug 2019 22:48:17 -0700
Implementation of TCP Client and Server
In many projects, the sending and receiving of information are needed, so some information is collected on the Internet, and simple text, files, pictures and BASE64 encoding are realized. (TCP/IP, IP protocol is not detailed here, focusing on the imp ...
Posted by CooKies37 on Fri, 16 Aug 2019 02:03:23 -0700
libevent binding, listening, reading and writing data
1. Binding and listening
In the previous article, epoll was used as an example to talk about the event mechanism, which calls init and dispatch callback functions in sequence. However, we recall the process of network programming. First, you need to create sockets, bind sockets, listen for sockets, but so far it has not been involved. Looking a ...
Posted by bengaltgrs on Thu, 15 Aug 2019 20:28:11 -0700
IO Flow & Properties Set
1.IO flow case
1.1 Collection to File Data Sorting Improvement Edition [Application]
1.1.1 Case Requirements
Keyboard input 5 student information (name, Chinese score, math score, English score). Write text files from high to low according to ...
Posted by DJ Judas on Thu, 15 Aug 2019 06:33:54 -0700
SOCKET Network Programming
SOCKET
Scoket: Program-to-program communication is like people using [telephones] to communicate, and programs using [SCOKET] to communicate.
SOCKET, commonly known as socket, is used to describe [IP address] and [port], and is the handle of a commu ...
Posted by zizzy80 on Wed, 14 Aug 2019 04:24:51 -0700
Question and Answer Applet for Smart Robots (Connection of socket and threading)
Intelligent question and answer robot
Problem Description
Define a set of questions and answers to be stored in a list on the server side. More than 10 questions are keys, value is the standard answer, for example: [{Hello:'Hello'}, {I love you' ...
Posted by watson516 on Tue, 13 Aug 2019 18:12:08 -0700
Koa2 Introduction Tutorial
Full Demo Address
The demo was written by myself, so I can't guarantee it will run until there are environmental problems.If you are too lazy to write, move on and read the article. Most of the code even gives you the output information.koa-demo
Introduction to Official Website
Created by Express's original team, koa is dedicated to becoming a ...
Posted by maineyak on Tue, 13 Aug 2019 09:09:28 -0700
Rigid translation of python uWSGI official documents
Articles Catalogue
1. What is uWSGI?
2. uWSGI configuration
2.1 Start an HTTP server
2.2 Concurrent and monitoring
2.3 Start uWSGI web server
Deployment of uWSGI in 2.4 django
2.5 Deployment of uWSGI in flask
2.6 Deployment of uWSGI in web2py
3. N ...
Posted by jalbey on Tue, 13 Aug 2019 06:12:02 -0700
[Muduo Source Code Analysis] Interpretation of Muduo's Tcpserver and Acceptor
This paper mainly analyses how the server establishes the connection in the Muduuo network library.
First, look at the constructor of Tcpserver (this series is based primarily on sample programs, which may differ from the final version of Muduo, ...
Posted by j0hn_ on Tue, 13 Aug 2019 05:39:49 -0700
11. Network Programming-tcp File Downloader
Example: Download something with Thunder. Before downloading, a file will be built locally and renamed after downloading.When the client downloads something, it receives part of the data from the server to write into the file just now, and then writes in again. When all the data is written, it means the ...
Posted by sing2trees on Mon, 12 Aug 2019 20:49:00 -0700