面向连接服务和无连接服务都用于两个或两个以上设备之间的连接建立。这些类型的服务由网络层提供。
面向连接的服务与电话系统有关。它包括连接建立和连接终止。在面向连接的服务中,握手方法用于建立发送方和接收方之间的连接。
无连接服务与邮政系统有关。它不包括任何连接建立和连接终止。无连接服务不提供可靠性保证。在这种情况下,数据包不遵循相同的路径到达目的地。
面向连接和无连接服务的区别:
S.NO | Connection-oriented Service | Connection-less Service |
---|---|---|
1. | Connection-oriented service is related to the telephone system. | Connection-less service is related to the postal system. |
2. | Connection-oriented service is preferred by long and steady communication. | Connection-less Service is preferred by bursty communication. |
3. | Connection-oriented Service is necessary. | Connection-less Service is not compulsory. |
4. | Connection-oriented Service is feasible. | Connection-less Service is not feasible. |
5. | In connection-oriented Service, Congestion is not possible. | In connection-less Service, Congestion is possible. |
6. | Connection-oriented Service gives the guarantee of reliability. | Connection-less Service does not give the guarantee of reliability. |
7. | In connection-oriented Service, Packets follow the same route. | In connection-less Service, Packets do not follow the same route. |
8. | Connection-oriented Services requires a bandwidth of high range. | Connection-less Service requires a bandwidth of low range. |