当前位置:网站首页>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
边栏推荐
- Can the applet run in its own app and realize live broadcast and connection?
- Experience design details
- Restcloud ETL Community Edition June featured Q & A
- 装饰设计企业网站管理系统源码(含手机版源码)
- 【达梦数据库】添加自动收集统计信息的任务
- How to customize the shortcut key for latex to stop running
- SQL中删除数据
- Hazel engine learning (V)
- HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
- About Estimation Statistics
猜你喜欢
Appx代码签名指南
函数重入、函数重载、函数重写自己理解
Shangsilicon Valley JVM Chapter 1 class loading subsystem
从0开始创建小程序
注意力机制原理
About Confidence Intervals
编译常量、ClassLoader类、系统类加载器深度探析
哈夫曼树基本概念
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
VHDL implementation of arbitrary size matrix multiplication
随机推荐
SQL中删除数据
大白话高并发(二)
cocos3——8. Implementation Guide for beginners
leetcode
树莓派设置wifi自动连接
21.(arcgis api for js篇)arcgis api for js矩形采集(SketchViewModel)
24. (ArcGIS API for JS) ArcGIS API for JS point modification point editing (sketchviewmodel)
Cocos2d-x box2d physical engine compilation settings
The latest 2022 review of "small sample deep learning image recognition"
R data analysis: how to predict Cox model and reproduce high score articles
PIP download only, not install
HDU 4337 King Arthur' S Knights it outputs a Hamiltonian circuit
Decoration design enterprise website management system source code (including mobile source code)
Jerry's transmitter crashed after the receiver shut down [chapter]
制作(转换)ico图标
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
[safe office and productivity application] Shanghai daoning provides you with onlyoffice download, trial and tutorial
函数重入、函数重载、函数重写自己理解
1200.Minimum Absolute Difference
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point