计网_第三章作业.doc

计网_第三章作业.doc

ID:49220866

大小:176.84 KB

页数:10页

时间:2020-02-28

计网_第三章作业.doc_第1页
计网_第三章作业.doc_第2页
计网_第三章作业.doc_第3页
计网_第三章作业.doc_第4页
计网_第三章作业.doc_第5页
资源描述:

《计网_第三章作业.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、.专业.专注.Chapter3注:括弧中标题号为第四版教材中对应的习题号1.(R14)SupposeHostAsendstwoTCPsegmentsbacktobacktoHostBoveraTCPconnection.Thefirstsegmenthassequencenumber90;thesecondhassequencenumber110.a.Howmuchdataisinthefirstsegment?b.SupposethatthefirstsegmentislostbutthesecondsegmentarrivesatB.IntheacknowledgmentthatHos

2、tBsendstoHostA,whatwillbetheacknowledgmentnumber?答:a.[90,109]=20bytesb.acknumber=90,对第一个报文段确认2.(R15)Trueorfalse?a.ThesizeoftheTCPRcvWindowneverchangesthroughoutthedurationoftheconnection.b.supposeHostAissendingHostBalargefileoveraTCPconnection.ThenumberofunacknowledgedbytesthatAsendscannotexceedth

3、esizeofthereceivebuffer.c.HostAissendingHostBalargefileoveraTCPconnection.AssumeHostBhasnodatatosendHostA.HostBwillnotsendacknowledgmentstoHostA.word完美格式..专业.专注.becauseHostBcannotpiggybacktheacknowledgmentondata.d.TheTCPsegmenthasafieldinitsheaderforRcvWindow.e.SupposeHostAissendingalargefiletoHos

4、tBoveraTCPconnection.Ifthesequencenumberforasegmentofthisconnectionism,thenthesequencenumberforthesubsequentsegmentwillnecessarilybem+1.f.SupposethatthelastSampleRTTinaTCPconnectionisequalto1sec.ThecurrentvalueofTimeoutIntervalfortheconnectionwillnecessarilybe>=1sec.g.SupposeHostAsendsonesegmentwi

5、thsequencenumber38and4bytesofdataoveraTCPconnectiontoHostB.Inthissamesegmenttheacknowledgmentnumberisnecessarily42.答:a.Fb.Tc.F:即使没有数据传送,也会进行单独确认d.Te.F:按字节编号,不按报文段编号f.Fg.F:B->A的确认号不一定为38+4=421.(R17)Trueorfalse?ConsidercongestioncontrolinTCP.Whenthetimerexpiresatthesender,thethresholdissettoonehalfo

6、fitspreviousvalue.答:.word完美格式..专业.专注.F:应为当前拥塞窗口的一半,而不是阈值的一半。1.(P3)UDPandTCPuse1scomplementfortheirchecksums.Supposeyouhavethefollowingthree8-bitbytes:01101010,01001111,01110011.Whatisthe1scomplementofthesumofthese8-bitbyte?(NotethatalthoughUDPandTCPuse16-bitwordsincomputingthechecksum,forthisprobl

7、emyouarebeingaskedtoconsider8-bitsums.)Showallwork..WhyisitthatUDPtakescomplementofthesum;thatis,whynotjustusethesum?Withthe1scomplementscheme,howdoesthereceiverdetecterrors?Isitpossiblethata1-biterrorwillgoundet

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。