- 1、本文档共77页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计网 传输层chapter6-transportlayer
The flags say what kind of segment it is, e.g., SYN for a connection establishment (synchronize) segment. The ack. number is a cumulative acknowledgement that means all data up to that number has been received. After the fixed part can come options. * One slight difference from before: the receiver echoes ACK+1 rather than simply ACK to show that it received and understood the connection request. Terminology: connection request is a SYN, for synchronize, disconnect request is a FIN for finish. * Exercise: using two instances of this, follow the path of a normal connection from a three-way handshake (both sides should move from closed to established using socket calls and packet exchanges) to teardown (both sides should move to closed at bottom). Ignore packet loss as it is not covered here. Then try a simultaneous open, etc. * To see why the figure is correct about where the data lies in the buffer note that it is a circular buffer. Data is put in from left to right then starts at the left edge again (bottom). Similarly, data is read out left to right (second from bottom). * These sort of things problems crop up in practice as being part of the mechanisms we have described so far. They usually call for modified sliding window / flow control rules in special cases. Solution for silly window syndrome is that receiver should not send window updates for tiny buffer openings like “one byte available”. It should wait until a whole segment can be buffered to avoid this. * RTT is round-trip time, a measure of delay that can be easily computed at one end without synchronized clocks. Average is computed with an EWMA, exponentially weighted moving average that is very simple: new value = alpha x old value + (1-alpha) x sample. Alpha is 7/8, say. Similarly for estimating the variance. TCP actually computes the deviation from the mean with another EWMA. * It’s only slow compared to jumping to a large window immediately, which was how it used to work when slow-start was in
文档评论(0)