14 multicast and broadcast && 15 sockets and standard IO
**
Chapter XIV multicast and broadcasting
** Suppose we want to send the same data to 10000 users. If TCP is used to provide services, 10000 socket connections are required. Even if UDP sockets are used to provide services, 10000 data transmissions are required. When the same data needs to be sent to a large number of clients, it will have a ...
Added by jpmoriarty on Fri, 24 Dec 2021 06:05:57 +0200
Basic learning of HTTP Hypertext Transfer Protocol
HTTP Hypertext Transfer Protocol
Concept: Hyper Text Tranfer Protocol
Transmission protocol: it defines that the communication between client and server is the format of sending datacharacteristic:
Advanced protocol based on TCP/IPDefault port number: 80Based on request / response model: one request corresponds to one responseStateless ...
Added by zarathu on Thu, 23 Dec 2021 14:20:52 +0200
OSPF experiment and configuration - super detailed
What is OSPF?
Open Shortest Path First (OSPF) is an internal gateway protocol based on link state developed by IETF. At present, OSPF Version 2 (RFC2328) is used for IPv4 protocol and OSPF Version 3 (RFC2740) is used for IPv6 protocol.
OSPF basic concepts Router ID
Router ID must exist if OSPF protocol is to be run. Router ID is a 32-bit uns ...
Added by chuckjones on Thu, 23 Dec 2021 05:41:34 +0200
Static routing configuration
Principle description:
1. Static routing: refers to the routing information manually configured by users or network administrators. When the network topology or link state changes, the network administrator needs to manually configure the static routing information.
Compared with dynamic routing protocols, static routing does not need to exc ...
Added by beyzad on Wed, 22 Dec 2021 14:57:25 +0200
Chapter 15 network programming
Basic knowledge
TCP/IP protocol
abbreviationFull nameProtocol typeIPInternet ProtocolNetwork protocolTCPTransmission Control ProtocalTransmission control protocol
IP address
Meaning: in the network, the unique identification of the communication entity (which can be host, printer, router port, etc.)
Format: 32bit integer, separated by dots ...
Added by webdevelope on Wed, 22 Dec 2021 00:22:29 +0200
Socket and address
socket
In a typical client / server scenario, the application uses socket to communicate as follows:
Each application creates a socket. Socket is a "device" that allows communication, which is used by both applications The server binds its socket to a well-known address so that the client can locate its location
Socket address fo ...
Added by Allenport on Mon, 20 Dec 2021 13:57:50 +0200
OSPF advanced configuration
catalogue
1. Router redistribution and configuration
1.1 route redistribution
Redistribute static route and default route in 1.2 OSPF Protocol
2. Virtual link and its configuration
2.1 virtual link overview
2.1 application occasions and functions of virtual link
2.2 virtual link command
2.3 rules and characteristics of configuring vir ...
Added by non_zero on Sat, 18 Dec 2021 09:07:08 +0200
Huawei hardware configuration commands are complete
backup elabel
Command function
The backup elabel command is used to back up the electronic label information of the device to the storage medium of the device.The backup elabel ftp command is used to back up the electronic label information of the device to the specified FTP server.The backup elabel tftp command is used to back up the electro ...
Added by dstockto on Sat, 18 Dec 2021 04:08:45 +0200
[HCIE discussion] QoS
Topic 1: what are the reasons why the video between the headquarters and branches has flower screens and the voice images are not synchronized?
Insufficient bandwidth, more packet loss, network jitter and high delay.
Question 2: how to deploy QoS (only write out the device name when deploying on that device) (1 point how to deploy QoS need ...
Added by nonexistence on Fri, 17 Dec 2021 13:58:05 +0200
Java network program related to IO, NIO and Netty -- chat program in C/S mode based on TCP
1, IO TCP chat program
1. IO introduction
① Server blocking point
server.accept(); When getting sockets inputStream.read(bytes); When the input stream reads data pass
② The unified socket is a short connection and can be used as a short connection server. It cannot make a long connection. It belongs to the ask and answer mode. For exam ...
Added by FD_F on Thu, 16 Dec 2021 16:47:16 +0200