首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
Two commonly used networking protocols are TCP and UPD. Which of the following correctly describes the two?
Two commonly used networking protocols are TCP and UPD. Which of the following correctly describes the two?
admin
2013-12-19
49
问题
Two commonly used networking protocols are TCP and UPD. Which of the following correctly describes the two?
选项
A、TCP provides best-effort delivery, and UDP sets up a virtual connection with the destination.
B、TCP provides more services and is more reliable in data transmission, whereas UDP takes less resources and overhead to transmit data.
C、TCP provides more services and is more reliable, but UDP provides more security services.
D、TCP is reliable, and UDP deals with flow control and ACKs.
答案
B
解析
B正确。TCP/IP堆栈中工作在传输层的两个主要协议是TCP和UDP。TCP是一个可靠的面向连接的协议,这意味着它可以确保数据包一定会被传递到目标计算机。如果数据包在传输过程中丢失了,TCP有能力确认这个问题,并重新发送这个丢失或受损的数据包。TCP之所以被称为面向连接的协议,是因为在用户数据被真正发送之前,想要通信的两个系统之间会握手。一旦握手成功完成,两个系统之间便建立了一个虚拟连接。UDP被认为是一个无连接的协议,因为它不经历这些步骤。相反,UDP在不联系目标计算机的情况下便发出消息,它也不知道数据包是被正确接收了还是被丢弃了。TCP提供了一个全双工的、可靠的通信机制。如果有数据包丢失或遭破坏,那些数据包会被重新发送。然而,与UDP相比,TCP需要很多的系统开销。如有程序员知道在传输过程中丢失的数据不会损害到应用程序,他可能会选择使用UDP,因为它速度更快、要求的资源更少。
A不正确。因为这个描述说反了。UDP是无连接的协议,在数据报被接收时,它并不发送或接收确认信息。UDP并不确保数据到达目的地,它提供的是尽力而为的服务。TCP是一个面向连接的协议,因此,它与目标计算机之间进行握手,并建立虚拟连接。它保证数据到达目的地。
C不正确。因为UDP并不提供安全服务。而TCP更为可靠,比UDP提供更多服务。与UDP不同,TCP将确保数据包到达目的地,并在数据包被收到时会发送一个确认信息,因此TCP是一个可靠的协议。它支持流量控制和拥塞控制、错误检测和错误纠正。
D不正确。因为这个针对UDP的描述实际上描述的是TCP。UDP并不返回确认信息,也不确保数据包到达目的地,它是一个不可靠的协议。此外,目标计算机也不通过UDP向源计算机反映有关流量控制的信息。
转载请注明原文地址:https://kaotiyun.com/show/nyhZ777K
0
CISSP认证
相关试题推荐
Thecountry’sinadequatementalhealthsystemgetsthemostattentionafterinstancesofmassviolencethatthenationhasseen
Theterme-commercereferstoallcommercialtransactionsconductedovertheInternet,includingtransactionsbyconsumersandb
Theterme-commercereferstoallcommercialtransactionsconductedovertheInternet,includingtransactionsbyconsumersandb
Publicrelationsisabroadsetofplannedcommunicationsaboutthecompany,includingpublicityreleases,designedtopromoteg
RoboticHighwayConesAUniversityofNebraskaprofessorhasdevelopedroboticconesandbarrels.____41____Theycanevenbe
[A]Meetingdifferentneeds[B]Smallerisbetter[C]Betterproductmakesgreaterquantity[D]Qualityvsquantity[E]Chillyc
Fewthingssay"forgetI’mhere"quitesoeloquentlyastheposeoftheshy—theavertedgaze,thehunchedshoulders,thebodypi
Cancerisusedgenericallyformorethan100differentdiseases,includingmalignanttumoursofdifferentsites,suchasbreast,
Writeanessayof160-200wordsbasedonthefollowingdrawing.Inyouressay,youshould1)describethedrawingbriefly,
Writeanessayof160-200wordsbasedonthefollowingdrawing.Inyouressay,youshould1.describethedrawingbriefly,2.e
随机试题
苯、烷化剂等化学物质有致白血病的作用,最常见的类型是
A气血两虚证B气滞血瘀证C气虚血瘀证D气随血脱证E气不摄血证大失血,突然面唇淡白,神志不清,呼吸微弱,多见于
下列关于违法性阻却事由说法正确的是:
法律为了维护抵押权人的合法权利,保障抵押权的安全,赋予了抵押权人相应的权利以限制抵押人的处分权,下列选项中不属于该权利的是()。
涵洞构造中能直接影响涵洞的宣泄能力和保证洞身安全的部分是()。
民用建筑可局部应用湿式自动喷水灭火系统的条件有()。
下面人物与“完璧归赵”密切相关的是()。
Duringthesecondhalfofthenineteenthcentury,intheUnitedStates,boththestimulustoproducelandscapeartandthesubje
Yourfather’shonoristoyoubutasecondhandhonor.
A、Heisadirectorofhisdepartment.B、Heisconfusedbythemessage.C、Hebearsthesamenamewithacolleague.D、Heworksin
最新回复
(
0
)