当前位置:网站首页>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
边栏推荐
- About Tolerance Intervals
- Vernacular high concurrency (2)
- Leetcode-02 (linked list question)
- [safe office and productivity application] Shanghai daoning provides you with onlyoffice download, trial and tutorial
- U.S. Air Force Research Laboratory, "exploring the vulnerability and robustness of deep learning systems", the latest 85 page technical report in 2022
- Search of linear table
- HDU 4337 King Arthur' S Knights it outputs a Hamiltonian circuit
- 25.(arcgis api for js篇)arcgis api for js线修改线编辑(SketchViewModel)
- Create applet from 0
- A 股指数成分数据 API 数据接口
猜你喜欢

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

哈夫曼树基本概念

Huawei and Xiaomi "copy each other"

Depth analysis of compilation constants, classloader classes, and system class loaders

Shangsilicon Valley JVM Chapter 1 class loading subsystem

亚像素级角点检测Opencv-cornerSubPix

Appx代码签名指南

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

枚举通用接口&枚举使用规范

ubuntu20安装redisjson记录
随机推荐
树莓派设置静态ip
[swift] learning notes (I) -- familiar with basic data types, coding styles, tuples, propositions
Install torch 0.4.1
【基于 RT-Thread Studio的CPK-RA6M4 开发板环境搭建】
注意力机制原理
[dream database] add the task of automatically collecting statistical information
Restcloud ETL Community Edition June featured Q & A
树莓派设置wifi自动连接
qt-线程等01概念
Domcontentloaded and window onload
美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
PIP download only, not install
About Tolerance Intervals
枚举通用接口&枚举使用规范
我的勇敢对线之路--详细阐述,浏览器输入URL发生了什么
变量、流程控制与游标(MySQL)
Jerry's question about DAC output power [chapter]
腾讯云原生数据库TDSQL-C入选信通院《云原生产品目录》
华为小米互“抄作业”
Shangsilicon Valley JVM Chapter 1 class loading subsystem