In industrial grade, the network communication protocol is usually designed to be divided into two layers: the higher layer and the lower layer.
The most outstanding difference is the higher packets employing a variable length while the lower doing a fixed length. The higher relates to business logic, whose packet length is ranging, say, from 1x KB to 1xx MB.
Why we need a fixed-size lower layer?
Imagine the following scenario: an emergency packet needs to be send immediately but a low-priority packet is in the process of being sent, which has occupied the expensive socket and would last for a while. Without the lower layer, we can do nothing but to wait.
It comes to a help that segmenting the size-variable packet into small fixed-size sub-packets, whereby we can check whether there’s an additional packet with higher priority at the interval of sending two sub-packets.
Abbreviations:
MUX – Multiplexing,
DEMUX - Demultiplexing
An alternate solution - FTP’s way:
FTP server and FTP client maintain two socket connections:
1) Command connection – for short and high-prioritized packets
2) Data connection – for long and low-prioritized packets
- 大小: 13.3 KB
- 大小: 5.1 KB
分享到:
相关推荐
article from IEEE; What are ontologies and why we need hem
Unit-5-Why-do-you-like-pandas全单元教(学)案.doc
Unit5-Why-do-you-like-pandas-全单元教(学)案.doc
【标题】"whywhy898-DDit-Rapid-Development-Framework-cb46205.zip" 提供的是一个名为 "DDit" 的开源框架,该框架专注于快速开发,旨在帮助开发者高效构建应用程序。其核心特性是预先构建了权限管理、用户管理和...
Why Don't Students Like School? 作者: Daniel T. Willingham 出版社: Jossey-Bass 副标题: A Cognitive Scientist Answers Questions About How the Mind Works and What It Means for the Classroom 出版年: 2010...
标题 "11-how-hackers-learn-and-why-you-want-this-in-your-school" 提到的主题是黑客的学习方式以及为何这种学习方法对教育有益。这个话题涉及到网络安全、黑客文化以及教育策略,这些都是信息技术(IT)领域的...
The Theory section takes a close, unbiased look at why so much time and effort has been expended on revising IPv4. In the Protocol section is a comprehensive review of the specifics of IPv6 and ...
什么是激励函数_(深度学习)__Why_need_activation_functions_(deep_learning)_
【标题】: "Why-do-you-like-pandas-教师说课大赛说课稿.docx" 【描述】: 教师说课大赛中的说课稿,主题围绕人教版 Go For It 七年级下册第 5 单元 "Why do you like pandas?" 第一课时的教学设计。 【知识点】: ...
MY2-2WHY------CP1-1C2WFR----ty2 MY3-3WHY------H6C-V100-2C3WF---- ty3-2wcn---cp1-2c3wf CS-TT5-3ECN----YX-XT2-8A3EFL-B MY1-2WWL------XP1-8b4wf----ty4-4WCN--7603--2022.9--8188--7601 XP1-8B4EF-B----MY6-4...
电信CS-TY2-2wcn,移动和家亲CS-MY2-2why,200W像素刷萤石云固件CS-CP1-1C2WFR可解
"、"Let’s do sth."、"Shall we do sth?"以及"What about/How about doing sth?"这些句型用于建议或询问对方是否愿意做某事。在讨论动物喜好时,我们会用到"Why do you like pandas?"和"Because they are very cute...
3. 任务环节,如A1a部分,学生先看图猜动物名字,然后展示答案,以巩固新学的词汇和理解。 这些设计旨在通过互动活动让学生在轻松愉快的氛围中学习,同时培养他们的团队协作能力和语言运用能力。
「安全威胁」Cloud_DFIR:Why_so_Cirrus - 防火墙 安全防御 数据安全 安全资讯 安全开发 安全运营
why-is-node-running在这里可以为您提供帮助。 安装 节点8及以上: npm i why-is-node-running -g 较早的节点版本(不再受支持): npm i why-is-node-running@v1.x -g 用法 const log = require ( 'why-is-node...
移动和家亲MY3-3WHY------xp1-2C3WF
电信CS-TY3-2WCN,移动CS-MY3-3WHY, 可解固件萤石CS-CP1-2C3WF ,300W像素
1982-kung-why-systolic-architecture;1982-kung-why-systolic-architecture;1982-kung-why-systolic-architecture;1982-kung-why-systolic-architecture;1982-kung-why-systolic-architecture