当前位置:网站首页>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
边栏推荐
- “去虚向实”大潮下,百度智能云向实而生
- 19. (ArcGIS API for JS) ArcGIS API for JS line acquisition (sketchviewmodel)
- Jerry's FM mode mono or stereo selection setting [chapter]
- 19.(arcgis api for js篇)arcgis api for js线采集(SketchViewModel)
- 22. (ArcGIS API for JS) ArcGIS API for JS Circle Collection (sketchviewmodel)
- Optimization of application startup speed
- 源代码保密的意义和措施
- 25.(arcgis api for js篇)arcgis api for js线修改线编辑(SketchViewModel)
- Shangsilicon Valley JVM Chapter 1 class loading subsystem
- 21. (article ArcGIS API for JS) ArcGIS API for JS rectangular acquisition (sketchviewmodel)
猜你喜欢
Graphical tools package yolov5 and generate executable files exe
哈夫曼树基本概念
21.(arcgis api for js篇)arcgis api for js矩形采集(SketchViewModel)
Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]
代码质量管理
海思万能平台搭建:颜色空间转换YUV2RGB
ubuntu20安裝redisjson記錄
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
22. (ArcGIS API for JS) ArcGIS API for JS Circle Collection (sketchviewmodel)
存储过程与函数(MySQL)
随机推荐
从0开始创建小程序
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
Variables, process control and cursors (MySQL)
Tencent cloud native database tdsql-c was selected into the cloud native product catalog of the Academy of communications and communications
About Confidence Intervals
Lost in the lock world of MySQL
Jerry's broadcast has built-in flash prompt tone to control playback pause [chapter]
Shangsilicon Valley JVM Chapter 1 class loading subsystem
函数重入、函数重载、函数重写自己理解
19. (ArcGIS API for JS) ArcGIS API for JS line acquisition (sketchviewmodel)
Matlab Error (Matrix dimensions must agree)
腾讯云原生数据库TDSQL-C入选信通院《云原生产品目录》
卡尔曼滤波-1
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
What about SSL certificate errors? Solutions to common SSL certificate errors in browsers
19.(arcgis api for js篇)arcgis api for js线采集(SketchViewModel)
Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]
校招行测笔试-数量关系
Appx代码签名指南
22.(arcgis api for js篇)arcgis api for js圆采集(SketchViewModel)