当前位置:网站首页>First understand the principle of network
First understand the principle of network
2022-07-07 03:33:00 【dhdhdhdhg】
List of articles
One 、 Network division
1. LAN
Use some network devices to connect multiple hosts , These hosts can communicate with each other , That is to access the resources provided by each other , Such as :
- html Webpage
- css file
- js file
- picture
- video
- music
Be careful : If the LAN is not connected to the public network , Host in LAN , You can't access the resources of the public network
2. Wide area network
We all recognize the open network , All connected hosts can access
3. Network communication
Through the network , Get a resource on a host in the network
Two 、IP Address
Identify the network address of a host on the network
1. Format
Divided into four parts , In the middle "." interval , Each part 0~255(8 A bit , A byte )
This machine ip:127.0.0.1
For network communication :
Such as :A( client ) visit B( Server side ) A web page of
client : Generally, it is the process used by users ( browser )
Server side : A process that provides resources (web The server )
process : A program that runs
Program : Static executable file on hard disk
So we can't only find the host when communicating , To find out which process is on the host , How to find it ? This is it Our process is identified by the port number
3、 ... and 、 Port number
Identification network communication , A process on a host
combination ip and port, You can know which host you want to get on the network , And resources in which process
Four 、 agreement
Network communication , The agreement that everyone should abide by 、 standard
Finally, it is embodied in the format of data packets
It is similar to doing programming problems on Niuke online , Input format : For example, the first line is a number n, The second line is n A digital , Space interval
边栏推荐
- 代码质量管理
- Experience design details
- Huawei and Xiaomi "copy each other"
- Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
- VHDL实现任意大小矩阵加法运算
- [C language] question set of IX
- 【DPDK】dpdk样例源码解析之三:dpdk-l3fwd_001
- Appx code signing Guide
- [swift] learning notes (I) -- familiar with basic data types, coding styles, tuples, propositions
- [Dameng database] after backup and recovery, two SQL statements should be executed
猜你喜欢

1200.Minimum Absolute Difference

函数重入、函数重载、函数重写自己理解

About Confidence Intervals

「小样本深度学习图像识别」最新2022综述

20.(arcgis api for js篇)arcgis api for js面采集(SketchViewModel)

24.(arcgis api for js篇)arcgis api for js点修改点编辑(SketchViewModel)

Huawei and Xiaomi "copy each other"

23.(arcgis api for js篇)arcgis api for js椭圆采集(SketchViewModel)

21. (article ArcGIS API for JS) ArcGIS API for JS rectangular acquisition (sketchviewmodel)

代码质量管理
随机推荐
[safe office and productivity application] Shanghai daoning provides you with onlyoffice download, trial and tutorial
[dream database] add the task of automatically collecting statistical information
哈夫曼树基本概念
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
VHDL实现任意大小矩阵乘法运算
源代码保密的意义和措施
R data analysis: how to predict Cox model and reproduce high score articles
Stored procedures and functions (MySQL)
SSL证书部署
美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
如何替换模型的骨干网络(backbone)
图形化工具打包YOLOv5,生成可执行文件EXE
About Estimation Statistics
Shangsilicon Valley JVM Chapter 1 class loading subsystem
海思3559万能平台搭建:RTSP实时播放的支持
About Confidence Intervals
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
Matlab Error (Matrix dimensions must agree)
Sorting operation partition, argpartition, sort, argsort in numpy
22.(arcgis api for js篇)arcgis api for js圆采集(SketchViewModel)