当前位置:网站首页>TCP packet sticking problem
TCP packet sticking problem
2022-06-30 18:52:00 【Z boo boo】
TCP The problem of sticking to the package of
We all know TCP Data transmission is based on byte stream , An important problem that will occur is the sticking problem
Let's take a look at what is TCP The problem of sticking to the package of

Why UDP There will be no sticking problem ?

Then how to solve TCP The problem of sticking packets ?
To solve TCP It is necessary to design a reasonable application layer protocol to solve the problem
Mode one : Setting for application layer " Terminator " / “ Separator ”

Mode two : Set the length of the package , Agree on the front of each application layer datagram 4 Bytes , The length of the stored datagram ~

In a word, just keep it in mind and determine the dividing line between the data .
边栏推荐
- Vs Code treeview TreeView
- 冰河老师的书
- Multipass Chinese document - setting graphical interface
- 【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台
- MySQL advanced - basic index and seven joins
- 剑指 Offer 16. 数值的整数次方
- Electronic components bidding and purchasing Mall: optimize traditional purchasing business and speed up enterprise digital upgrading
- Dependencies tool to view exe and DLL dependencies
- VScode 状态条 StatusBar
- 秉持'家在中国'理念 2022 BMW儿童交通安全训练营启动
猜你喜欢

领导:谁再用 Redis 过期监听实现关闭订单,立马滚蛋!

充值满赠,IM+RTC+X 全通信服务「回馈季」开启

电子元器件行业在线采购系统精准匹配采购需求,撬动电子产业数字化发展

Do you write API documents or code first?

Infineon - GTM architecture -generic timer module

Digital intelligent supplier management system solution for coal industry: data driven, supplier intelligent platform helps enterprises reduce costs and increase efficiency

医院在线问诊小程序源码 互联网医院源码 智慧医院源码

Tsinghua only ranks third? 2022 release of AI major ranking of Chinese Universities of soft science

LeetCode之合并二叉树

Optimize with netcorebeauty Net core independent deployment directory structure
随机推荐
Glacier teacher's book
It's not easy to say I love you | use the minimum web API to upload files
麻烦问下 Flink支持同步数据到 sqlserver么
Compilation problems and solutions of teamtalk winclient
Multipass Chinese document - setting graphical interface
国内离线安装 Chrome 扩展程序的方法总结
System integration project management engineer certification high frequency examination site: prepare project scope management plan
Unity实战之一个脚本实现雷达图
Tensorflow2 深度学习十必知
Rhai - Rust 的嵌入式脚本引擎
又一篇CVPR 2022论文被指抄袭,平安保险研究者控诉IBM苏黎世团队
Vulnerability recurrence ----- 35. Uwsgi PHP directory traversal vulnerability (cve-2018-7490)
Electronic components bidding and purchasing Mall: optimize traditional purchasing business and speed up enterprise digital upgrading
分布式场景下,你知道有几种生成唯一ID的方式嘛?
系统集成项目管理工程师认证高频考点:编制项目范围管理计划
C# Winform程序界面优化实例
Hospital online consultation applet source code Internet hospital source code smart hospital source code
【TiDB】TiCDC canal_ Practical application of JSON
深度学习编译器的理解
TeamTalk WinClient编译问题及解决方案