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

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.

主站蜘蛛池模板: 榕江县| 紫阳县| 金塔县| 利川市| 吉木乃县| 五大连池市| 西昌市| 阳信县| 炎陵县| 柳江县| 沈阳市| 舟山市| 建湖县| 南木林县| 武平县| 广德县| 蒙城县| 赣榆县| 安远县| 巫溪县| 郁南县| 麻城市| 锦州市| 句容市| 莱州市| 黔江区| 亚东县| 阜阳市| 普定县| 广饶县| 天峻县| 雷州市| 肇源县| 台北市| 尚义县| 永吉县| 始兴县| 永和县| 济阳县| 徐闻县| 隆林|