当前位置:网站首页>Port, domain name, protocol.
Port, domain name, protocol.
2022-07-05 02:44:00 【13 less】
One . domain name
Each domain name corresponds to its IP Address , From left to right Top-level domain name , First level domain name , Two level domain name ....., The two are separated by dots . Search the web address through the domain name , In fact, the essence is also through IP Address search .
for example :
You can search Baidu , Search directly www.baidu.com To search
You can also type :
These two
www.baidu.com
14.215.177.39
The answer must be inevitable ,www.baidu.com Easier to remember
Two . port
Logical port , Generally speaking, it means TCP/IP Port in protocol , The port number range is from 0 To 65535, For example, for browsing Web Services 80 port , be used for FTP Service 21 Ports, etc .
3、 ... and . agreement
agreement : It is a series of sets that communicate between computers or devices in the network .
Common protocols are :
HTTP Protocol proxy server commonly used port number :80/8080/3128/9098
...... Wait for a series of agreements
Four .http://baidu.com:80
1.http agreement
2.baidu.com domain name
3.80 port
5、 ... and .Tcp Three handshakes and four waves
(1) Three handshakes
A simple example
client :
Can you hear ?
The server :
I can hear , And you? ?
client :
I can hear
(2) Four waves
client :
The client sends to the server FIN package , Need to disconnect .
The server :
Received your request to disconnect , Send a ACK, Do not send requests , But there is still data to be processed .
The server :
After the server has processed the data , Send a FIN, Indicates that the server can disconnect .
client :
Received from the server FIN After the package , Send a ACK, Indicates that the client can also disconnect .
(3) Why does it take three handshakes , It takes four waves ?
Three handshakes : Three handshakes are for TCP Connected .
Four waves : To disconnect , To ensure the end of data transmission , And receive data .
边栏推荐
- How to make OS X read bash_ Profile instead of Profile file - how to make OS X to read bash_ profile not . profile file
- Application and Optimization Practice of redis in vivo push platform
- Icu4c 70 source code download and compilation (win10, vs2022)
- Elfk deployment
- Kotlin - coroutine
- openresty ngx_lua变量操作
- Flume配置4——自定义MYSQLSource
- 100 basic multiple choice questions of C language (with answers) 04
- Character painting, I use characters to draw a Bing Dwen Dwen
- LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
猜你喜欢
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Unpool(nn.MaxUnpool2d)
Hmi-31- [motion mode] solve the problem of picture display of music module
TCP security of network security foundation
Icu4c 70 source code download and compilation (win10, vs2022)
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
openresty ngx_lua執行階段
Elfk deployment
Video display and hiding of imitation tudou.com
随机推荐
openresty ngx_lua变量操作
Pytorch register_ Hook (operate on gradient grad)
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
2022/02/13
Start the remedial work. Print the contents of the array using the pointer
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Asynchronous and promise
Which common ports should the server open
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Openresty ngx Lua Execution stage
Design and implementation of high availability website architecture
Uniapp navigateto jump failure
[机缘参悟-38]:鬼谷子-第五飞箝篇 - 警示之一:有一种杀称为“捧杀”
Scientific research: are women better than men?
A tab Sina navigation bar
Azkaban实战
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?