官术网_书友最值得收藏!

Connectionless service

The second case here is a connectionless service. This is used when multiple messages bear no relation to one another, and thus these protocols do not need any connection negotiation step before sending any data. An example of this is UDP, which provides no guarantees of the sequence or reliability of transmitted messages (it does, however, have a checksum field to guarantee the correctness of the datagram). One should note that the protocol running above UDP is always free to implement reliability if that is desired. Interestingly, IP routing is also a connectionless service. The UDP header is shown as follows:

UDP header format

It's easy to see that the header here is far smaller than a TCP header. It also lacks a number of fields that TCP uses to manage the connection and tune it according to network congestion and so on. Since UDP does not have those fields, it cannot provide those guarantees.

主站蜘蛛池模板: 云龙县| 陇川县| 临夏县| 托克托县| 阿城市| 涪陵区| 梅州市| 敦煌市| 咸丰县| 浦东新区| 图们市| 克什克腾旗| 长兴县| 万州区| 江都市| 元阳县| 江都市| 田东县| 准格尔旗| 齐河县| 东兴市| 周至县| 康保县| 镇江市| 翁牛特旗| 辽阳县| 高青县| 辽宁省| 北辰区| 新平| 谢通门县| 海口市| 石棉县| 武夷山市| 舞阳县| 贵州省| 平泉县| 屏东县| 揭东县| 伊春市| 社会|