TCP 是双向的还是全双工的? [英] Is TCP bidirectional or full-duplex?

查看:97
本文介绍了TCP 是双向的还是全双工的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Bidirectionalfull-duplex 是不同的概念.例如,以太网只是半双工的,因为在特定时间,只有一台主机可以通过线路发送数据,并且不能同时发送和接收数据.

Bidirectional and full-duplex are different concepts. For example the Ethernet is only half-duplex because at a specific time, only one host can send data over the wire, and it cannot send and receive data simultaneously.

所以当我们在以太网上使用 TCP 时,我认为 TCP 只是双向或半双工.

So when we use TCP over an Ethernet, I think TCP is only bidirectional or half-duplex.

但是这里它说 TCP 是全双工的.为什么?

But here it says TCP is full-duplex. Why?

推荐答案

它当然是双向的,因为双方都发送/接收数据包.当你问 TCP 是否是全双工时,你的意思究竟是什么?

It's certainly bidirectional, since both parties send / receive packets. What exactly do you mean when you ask if TCP is full-duplex?

同时发送和接收数据包更多地与物理组件有关,而 TCP 是一种协议,它定义了数据应如何构成和处理以到达目的地.

Both sending and receiving packets at the same time has more to do with the physical component, while TCP is a protocol defining how data should be framed and handled in order to reach the destination.

NIC(网络接口控制器)负责发送和接收物理数据包,您必须在那里检查半/全双工功能.

The NIC (Network Interface Controller) is responsible for sending and receiving physical packets and you would have to check there about the half / full - duplex capabilities.

例如,如果无线 (802.11) 使用相同的天线发送和接收无线电信号,则它是半双工的.

Wireless (802.11) for example is half-duplex if it is using the same antenna for sending and receiving radio signal.

这篇关于TCP 是双向的还是全双工的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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