当前位置:网站首页>Network protocol: tcp/ip protocol
Network protocol: tcp/ip protocol
2022-07-26 11:58:00 【InfoQ】


- It's probably a group of signals as packets , Become a frame -Head-data
- Head: Description information ( sender --- The receiver )
- Data: Real data
- Data must be from network card to network card ( Each network card has Mac Address )
- Broadcast , Send it to all network cards of the LAN
- Solve different computers , In different LAN communication problems .
- IPV4 Determine which subnet it belongs to , independent IP More expensive . Every computer has one IP Address :192.168.1.1 altogether 32 Bit
- Put the frame inside data Divide into 2 block (Head Include IP Address + length ,data Real data )
- The frame length is limited , If exceeded , Will be broken into different bags , Every bag has it head And package serial number
- problem : Many programs in the computer use the network , Frame here , To which program ? There has to be something , Tell me to give that program .( The port change is shining ....)
- Guarantee : Information about a program on the computer , Send to a program on a computer .
- port :0~65535, among 0 To 1023 System use the . Ensure that procedures communicate with procedures
- host + port = Kit word (Socket),socket In fact, it is to ensure the interaction of programs distributed on different computers , Can do network application development
- UDP agreement , hold data Split into head+data(head Only put ports ). There is no guarantee that the data will be received . characteristic : Simple , reliable
- TCP agreement , Data accessibility , Make sure the data is not lost , Confirmation process . Complex version UDP. characteristic : Load inefficiency , Offset more resources , reliable .
- Session: Connection of each user , It's just one. Session
- AppServer:Socket Instance of the server
- Commands: The client sends back the command of data
- Used to detect whether the client is disconnected, The client is online , The server sends a heartbeat packet within the interval , The server returned a reply .
- If the heartbeat cycle , received , The server thinks you are offline
边栏推荐
- Transactional事务传播行为?
- Ga-rpn: recommended area network for guiding anchors
- There are various signs that apple is expected to support AV1
- Subject 3 turns and turns
- 【通信原理】第一章 -- 绪论
- Flink cdc 是不是只支持 sql-client的方式提交SQL脚本啊
- Acwing727.菱形图案
- 系统调用捕获和分析—修改内核方法添加系统调用
- Esp8266 Arduino programming example - development environment construction (based on platformio)
- Some practical, commonly used and increasingly efficient kubernetes aliases
猜你喜欢

System call capture and analysis - modify kernel methods to add system calls

线上一个隐匿 Bug 的复盘

Outsourcing for four years, abandoned

3.2 创建菜单与游戏页面(下)

【安徽大学】考研初试复试资料分享

GA-RPN:引导锚点的建议区域网络

Audio and video+

pytest接口自动化测试框架 | pytest配置文件

Flink 在 讯飞 AI 营销业务的实时数据分析实践

X 2 earn must rely on Ponzi startup? Where is the way out for gamefi? (top)
随机推荐
JSJ-3/AC220V时间继电器
Miccai2022 paper | evolutionary multi-objective architecture search framework: application in covid-19 3D CT classification
线上一个隐匿 Bug 的复盘
Redis实现Single单点登入--系统框架搭建(一)
常用的 list.isEmpty() 为何突然报null?
Audio and video+
[early knowledge of activities] list of recent activities of livevideostack
【活动早知道】LiveVideoStack近期活动一览
系统调用捕获和分—Ring3层LD_PRELOAD机制进行库函数劫持
.....
An online duplicate of a hidden bug
X 2 earn must rely on Ponzi startup? Where is the way out for gamefi? (top)
Metauniverse gamefi chain game system development NFT Technology
浅谈Web Vitals
Redis database, which can be understood by zero foundation Xiaobai, is easy to learn and use!
Who is responsible for the problems of virtual idol endorsement products? And listen to the lawyer's analysis
Marriage seeking story
Esp8266 Arduino programming example - development environment construction (based on Arduino IDE)
Win10 uses NVM to install node, NPM, and cnpm
面试官:如何理解QPS,TPS,RT?