Kotlin collaboration + Retrofit is the most elegant network request
1. Introduction
Retrofit's support for collaborative processes is very rudimentary. The use of kotlin does not conform to kotlin's elegance
interface TestServer {
@GET("banner/json")
suspend fun banner(): ApiResponse<List<Banner>>
}
//Network request for parallel exception capture
fun oldBanner(){
viewModelScope. ...
Posted by mightymax on Sat, 15 Jan 2022 12:56:02 +0100
Dynamic diagram! After the code executes send successfully, will the data be sent out?
Today is another day submerged by pouring demand.
Does anyone know where to sign up for the chicken soup class of "I cut 18 demands for me in three sentences" and want to apply.
The class of "understanding applause" is even more difficult.
Going further, back to our topic today, let's understand the catalogue of this ...
Posted by Atomiku on Sat, 15 Jan 2022 09:36:16 +0100
Python Network Programming
Transmission model
hierarchical model
Description of each layerOSI seven layer network modelTCP/IP four layer network modelCorresponding protocolStandard interface for network communication of operating system or applicationapplication layerapplication layerTelnet,FTP,SMTP,DNS,HTTPConvert different coding methods into standard forms used ...
Posted by boiy on Sat, 15 Jan 2022 03:29:04 +0100
Learning notes of UNIX Network Programming Volume 1: socket networking API -- name and address conversion
Domain name system
Domain name system (DNS) is mainly used for the mapping between host name and IP address. The host name can be either a simple name, such as solaris or bsdi, or a fully qualified domain name (FQDN), such as solaris unpbook. com .
resource record
Entries in DNS are called resource records (RR s).
A. A record maps a ho ...
Posted by kparish on Fri, 14 Jan 2022 07:13:58 +0100
Openflow learning notes
Tool: Mininet
Topology:
The topology envisaged at the beginning is like this
Purpose of the experiment:
The implementation changes the fowarding route from h1-s1-s2-h2 (default) to h1-s1-s3-h2, and vice versa
It is a simple step to establish this topology using a python script written by the interface provided by mininet
from mininet.to ...
Posted by shmick25 on Thu, 13 Jan 2022 20:06:19 +0100
DDoS attack methods
DDoS attack methods
Most of the content of this paper draws lessons from the in-depth analysis of DDoS attack and prevention of the king of destruction. Interested students can read this book, which is very helpful to me as an introductory book.
DDoS (Distributed Denial of Service), the first denial of service attack, dates back to 1996. Why ...
Posted by seanrock on Thu, 13 Jan 2022 16:14:28 +0100
iptables learning notes
Linux-IP tables
Brief introduction
Netfilter is a Linux 2.4 kernel firewall framework proposed by Rusty Russell. The rules set by Netfilter are stored in the kernel space, while iptables is an application layer application. It modifies XXtables(Netfilter configuration table) stored in the kernel space through the interface released by Netfilt ...
Posted by lives4him06 on Thu, 13 Jan 2022 14:51:44 +0100
Managing Amazon EKS Anywhere clusters using KubeSphere
Introduction to Amazon EKS AnywhereRecently, Amazon cloud technology opened Amazon EKS Anywhere. This project provides a new deployment mode for Amazon EKS, which can easily create and manage Kubernetes clusters using virtual machines in the local data center, and take advantage of Amazon EKS Distro to bring a consistent Kubernetes operation an ...
Posted by Genesis730 on Thu, 13 Jan 2022 05:23:17 +0100
Cluster network monitoring using KubeNurse
WeChat Public Number: Operations Development Story by Joke
Preface
In Kubernetes, networks are provided through third-party network plug-ins, whose implementation is so complex that they often run into difficulties when troubleshooting network problems. So what is the way to monitor all the network connections in a cluster?
kubenurse is on ...
Posted by OuchMedia on Wed, 12 Jan 2022 18:54:50 +0100
TCP shakes hands three times and waves four times
TCP three handshakes and four waves
Quoted articles:
(32 messages) the whole process of tcp three handshakes and four handshakes and why three handshakes_ Rock owl blog - CSDN blog_ tcp the whole process of three handshakes and four waves
https://blog.csdn.net/spade_Kwo/article/details/119464901
What is TCP protocol?
TCP It is a host ...
Posted by Tarsonis21 on Wed, 12 Jan 2022 06:43:17 +0100