当前位置:网站首页>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
边栏推荐
- unrecognized selector sent to instance 0x10b34e810
- SSL证书部署
- CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
- The latest 2022 review of "small sample deep learning image recognition"
- Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
- 从0开始创建小程序
- Optimization of application startup speed
- 体会设计细节
- Huawei and Xiaomi "copy each other"
- 函数重入、函数重载、函数重写自己理解
猜你喜欢
注意力机制原理
Shangsilicon Valley JVM Chapter 1 class loading subsystem
Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
Under the tide of "going from virtual to real", Baidu AI Cloud is born from real
哈夫曼树基本概念
Experience design details
21. (article ArcGIS API for JS) ArcGIS API for JS rectangular acquisition (sketchviewmodel)
When you go to the toilet, you can clearly explain the three Scheduling Strategies of scheduled tasks
20.(arcgis api for js篇)arcgis api for js面采集(SketchViewModel)
24. (ArcGIS API for JS) ArcGIS API for JS point modification point editing (sketchviewmodel)
随机推荐
VHDL实现单周期CPU设计
VHDL implementation of arbitrary size matrix addition operation
About Confidence Intervals
概率论公式
24.(arcgis api for js篇)arcgis api for js点修改点编辑(SketchViewModel)
如何替换模型的骨干网络(backbone)
Under the tide of "going from virtual to real", Baidu AI Cloud is born from real
Opencv environment, and open a local PC camera.
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
C# Task拓展方法
pip只下载不安装
Optimization of application startup speed
编译常量、ClassLoader类、系统类加载器深度探析
从0开始创建小程序
VHDL implementation of arbitrary size matrix multiplication
亚像素级角点检测Opencv-cornerSubPix
【DPDK】dpdk样例源码解析之三:dpdk-l3fwd_001
2022.6.28
Significance and measures of source code confidentiality
Mathematical induction and recursion