当前位置:网站首页>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
边栏推荐
- Lost in the lock world of MySQL
- [colmap] 3D reconstruction with known camera pose
- 21.(arcgis api for js篇)arcgis api for js矩形采集(SketchViewModel)
- Set WiFi automatic connection for raspberry pie
- 【达梦数据库】备份恢复后要执行两个sql语句
- 变量、流程控制与游标(MySQL)
- The version control of 2021 version is missing. Handling method
- Depth analysis of compilation constants, classloader classes, and system class loaders
- SQL中删除数据
- Do you know the five most prominent advantages of E-bidding?
猜你喜欢

1200.Minimum Absolute Difference

Open3D 网格滤波

VHDL implementation of single cycle CPU design

HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅

Make (convert) ICO Icon

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

Flink Task退出流程与Failover机制

装饰设计企业网站管理系统源码(含手机版源码)

美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告

25. (ArcGIS API for JS) ArcGIS API for JS line modification line editing (sketchviewmodel)
随机推荐
The latest 2022 review of "small sample deep learning image recognition"
Tencent cloud native database tdsql-c was selected into the cloud native product catalog of the Academy of communications and communications
1200.Minimum Absolute Difference
Create applet from 0
A 股指数成分数据 API 数据接口
Significance and measures of source code confidentiality
Graphical tools package yolov5 and generate executable files exe
22.(arcgis api for js篇)arcgis api for js圆采集(SketchViewModel)
Jerry's RTC clock development [chapter]
[cpk-ra6m4 development board environment construction based on RT thread studio]
制作(转换)ico图标
如何自定义Latex停止运行的快捷键
Function reentry, function overloading and function rewriting are understood by yourself
[Dameng database] after backup and recovery, two SQL statements should be executed
ubuntu20安裝redisjson記錄
【colmap】已知相机位姿情况下进行三维重建
Sub pixel corner detection opencv cornersubpix
线性表的查找
Install torch 0.4.1
Jerry's FM mode mono or stereo selection setting [chapter]