Implementation of knowledge consolidation source code 6: c language splicing string and cutting string (strsep) code
Network data is transmitted in the form of stream (we must have a specific format when constructing the data to be sent by the client / server).
The integrity and reliable reception of a packet (reliable transmission of tcp and the problem of half packet sticking of data) are not concerned here. You can refer to the above.
The purpose here is ...
Posted by knashash on Tue, 15 Feb 2022 10:49:19 +0100
[BlockChain] go realize BlockChain 7: Network
[BlockChain] go realize BlockChain 7: Network
introduction
So far, the prototype we have built has all the key features of blockchain: anonymous, secure and randomly generated addresses; Blockchain data storage; Workload proof system; Store transactions reliably. Although these features are indispensable, there are still deficiencies. It is t ...
Posted by diego25 on Tue, 15 Feb 2022 06:29:48 +0100
Java notes: network programming
1. Overview of network programming
Java is a language on the Internet. It provides support for network applications at the language level. Programmers can easily develop common network applicationsThe network class library provided by java can realize painless network connection. The underlying details of networking are hidden in the Java Nati ...
Posted by woolyg on Tue, 15 Feb 2022 04:20:35 +0100
When the kernel receives a network packet
From network cable to network card
Now, there is a packet, which will enter the network card from the network cable.
This data packet is sent from another computer far away. After going through many difficulties and obstacles, it reaches the network card of this computer. This process can be read If you design the network Anyway, now ...
Posted by jhbalaji on Tue, 15 Feb 2022 00:49:34 +0100
[HCIE TAC] question 5-2
Error point restore: #AR30: acl 2000 rule 5 deny 10.5.1.32 0 int g0/0/0 traffic-filter outbound acl 2000
1, Fault root cause judgment The loopback 0 of AR32 cannot access the loopback 0 and g0/0/0 interface addresses of AR34. The root cause is that the traffic filtering strategy for the address of AR32loopback 0 interface is made in the outg ...
Posted by Transmission94 on Mon, 14 Feb 2022 16:34:30 +0100
Java foundation - network programming
B/S and C/S architecture
B/S: Browser / server, which interacts with the server based on the browser program C/S: client / server, which interacts with the server based on the client program
Java write server program
1. Meet business needs 2. Handle high concurrency 3. Big data processing
Network protocol
Syntax: structure of ...
Posted by furma on Mon, 14 Feb 2022 03:02:36 +0100
Summary of Unix network programming -- simple server implementation
1. Preface
To realize a simple server, it needs several steps to establish a connection with the client and receive the data from the client for processing. The figure above shows the basic socket functions needed to implement the TCP client / server program. This article focuses on the implementation of server-side.
2.sokcet()
First, call ...
Posted by tejama on Sun, 13 Feb 2022 15:13:19 +0100
RabbitMQ unfair distribution and prefetching (channel.basicQos)
Qos (Quality of Service) concept:
When the network is congested, all data streams may be discarded; In order to meet the requirements of users for different applications and different service quality, the network needs to be able to allocate and schedule resources according to the requirements of users, and provide different service quality ...
Posted by ajfton on Sun, 13 Feb 2022 10:17:55 +0100
wget: command line download tool
1, Grammar
onlylove@ubuntu:~$ wget -help
GNU Wget 1.20.3, a non-interactive network retriever.
Usage: wget [OPTION]... [URL]...
Mandatory arguments to long options are mandatory for short options too.
Startup:
-V, --version display the version of Wget and exit
-h, --help print this help
-b, --b ...
Posted by kiwi_uk on Sun, 13 Feb 2022 05:13:14 +0100
Network programming (realize the mutual communication of LAN and send and receive data)
linux network programming
1, Understanding of ip and ports
What is socket?
1). Socket is translated into socket, socket and row plug in English. (because there are many kinds of sockets, it seems that there are many protocols. These protocols must be consistent before communication can be carried out.) Network programming - > socket ...
Posted by dsdsdsdsd on Sat, 12 Feb 2022 03:23:08 +0100