面向消息的协议和面向流的协议之间的区别 [英] Difference between message-oriented protocols and stream-oriented protocols

查看:353
本文介绍了面向消息的协议和面向流的协议之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图理解这两种计算机网络术语之间的区别.我在互联网上搜索,但没有一个好主意.有人可以向我解释一下还是提供指向解释此问题的页面的链接?谢谢...

I am trying to understand the difference between these two computer networking terminologies. I searched over the internet but coudn't get a good idea. Could anybody please explain me or give a link to a page that explains this? Thank you...

推荐答案

面向消息的协议按不同的块或组发送数据.数据的接收者可以确定一条消息在哪里结束而另一条消息在哪里开始.流协议发送连续的数据流.

Message Oriented protocols send data in distinct chunks or groups. The receiver of data can determine where one message ends and another begins. Stream protocols send a continuous flow of data.

以下是手机的示例.文本消息将是面向消息的协议,因为每个文本消息都与其他消息不同.电话以流为导向,因为整个通话中音频持续不断.

Here is an example with mobile phones. Text messages would be a message oriented protocol as each text message is distinct from the other messages. A phone call is stream oriented as there is a continuous flow of audio throughout the call.

Internet上使用的通用协议是UDP(面向消息)和TCP(面向流). Wikipedia这些术语可获取更多信息.

Common protocols used on the internet are UDP (message oriented) and TCP (stream oriented). Wikipedia these terms for more information.

希望这对您有帮助

这篇关于面向消息的协议和面向流的协议之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆