Network loading framework OkHttp

1. What is OkHttp github address: https://square.github.io/okhttp/ An open source project for processing network requests contributed by Square is the most widely used network framework for Android. Starting with Android 4.4 The underlying implementation of HttpURLConnection adopts OkHttp. 1. Support HTTP/2 and allow all requests to the ...

Posted by dprichard on Sat, 30 Oct 2021 12:08:34 -0700

Network configuration in Linux 2021-10-29

IP and subnet mask concepts 1. What is IP ADDRESS internet protocol ADDRESS ## network process address ipv4 internet protocol version 4 ip is composed of 32 01s 11111110.11111110.11111110.11111110 = 254.254.254.254 2. Subnet mask Used to divide the network area The number on the ip corresponding to the non-zero bit of the subnet mask repres ...

Posted by svenski on Fri, 29 Oct 2021 06:59:13 -0700

Fundamentals of golang network programming

golang network programming 1.TCP programming Processing flow of TCP server program: 1.Listening port 2.Receive client request to establish link 3.establish goroutine Process links. The TCP server code implemented using the net package of Go language is as follows: Server package main import ( "bufio" "fmt" "net" ) func proc ...

Posted by vinnier on Thu, 28 Oct 2021 12:18:46 -0700

Android SMB realizes data transmission from mobile phone to computer in a few simple steps

What is SMB SMB, namely "Server Message Block" server information block, is a network file sharing protocol. It can be used for Web connection and information communication between client and server, allowing applications and end users to access file resources from remote file servers. SMB communication protocol is an agreement form ...

Posted by puzzle on Thu, 28 Oct 2021 10:09:08 -0700

Filter by process in Wireshark

An introduction When using wireshark, one of the most frustrating things is filtering out what you need from a large number of data packets. In particular, when we need to analyze the protocol for a particular program, it's perfect to have a process name as a filter. I found an implementation when I checked the materials online, but the versio ...

Posted by Quest on Wed, 27 Oct 2021 10:05:23 -0700

Tensorflow 2.0 - FaceNet network principle and code analysis - model principle and backbone network

Tensorflow 2.0 - FaceNet network principle and code analysis (I) - model principle and backbone network FaceNet is actually a general face recognition system described in the preface: deep convolution neural network (CNN) is used to map images to European space. Spatial distance is directly related to image similarity: different images of the ...

Posted by srirangam007 on Tue, 26 Oct 2021 21:21:35 -0700

Quick start to C + + network programming: the basic process of TCP network communication and the use of basic functions

Process Overview The basic principle of network communication between client and server is as follows. Message oriented middleware may be added to a more complex architecture. For the server, the communication process is as follows: 1,call socket Function create listener socket 2,call bind Function will socket Bind to a IP And port nu ...

Posted by wolfraider on Tue, 26 Oct 2021 05:42:52 -0700

ndnSIM learning -- the whole process from consumer sending interest package to producer returning data package

preface In the last article ndnSIM learning (8) -- ndn-simple.cpp of examples analyzes each function line by line In, we analyze the underlying principle of the whole ndn-simple.cpp. As the core, it is naturally the working process of the whole network: how do consumers send interest packets? How do producers return packets based on intere ...

Posted by burn1337 on Tue, 26 Oct 2021 03:07:56 -0700

Monitoring of cerebral fissure

Cerebral fissure In the high availability (HA) system, when the "heartbeat line" connecting two nodes is disconnected, the HA system, which is originally a whole and coordinated action, will be split into two independent individuals. Because they lost contact with each other, they all thought it was the other party's fault. The HA ...

Posted by drayfuss on Sun, 24 Oct 2021 22:31:49 -0700

High efficiency IO - IO multiplexer select

catalogue 1, Concept 2, select function         2.1 function prototype          2.2 detailed introduction of parameters                 2.2.1 nfd                 2.2.2readfds,writefds,errorfds                 2.2.3 timeout         2.3. Ready conditions f ...

Posted by dhiren22 on Thu, 21 Oct 2021 17:43:59 -0700