Connectionless communication


Connectionless communication, often referred to as CL-mode communication, is a data transmission method used in packet switching networks in which each data unit is individually addressed and routed based on information carried in each unit, rather than in the setup information of a prearranged, fixed data channel as in connection-oriented communication.
Under connectionless communication between two network end points, a message can be sent from one end point to another without prior arrangement. The device at one end of the communication transmits data addressed to the other, without first ensuring that the recipient is available and ready to receive the data. Some protocols allow for error correction by requesting retransmission. Internet Protocol and User Datagram Protocol are connectionless protocols.
A packet transmitted in a connectionless mode is frequently called a datagram.
Connectionless protocols are usually described as stateless protocols because the end points have no protocol-defined way to remember where they are in a "conversation" of message exchanges.
In connection-oriented communication the communicating peers must first establish a logical or physical data channel or connection in a dialog preceding the exchange of user data.
A connectionless communication has an advantage over a connection-oriented communication, in that it has low overhead. It also allows for multicast and broadcast operations in which the same data are transmitted to several recipients in a single transmission.
In connectionless transmissions the service provider usually cannot guarantee that there will be no loss, error insertion, misdelivery, duplication, or out-of-sequence delivery of the packet. However, the effect of errors may be reduced by implementing error correction within an application protocol.
In connectionless mode no optimizations are possible when sending several data units between the same two peers. By establishing a connection at the beginning of such a data exchange the components along the network path would be able to pre-compute routing-related information, avoiding re-computation for every packet. Network components could also reserve capacity for the transfer of the subsequent data units of a video download, for example.
Distinction between connectionless and connection-oriented transmission may take place at several layers of the OSI Reference Model:
Notable connectionless protocols are: Internet Protocol, User Datagram Protocol, Internet Control Message Protocol, Internetwork Packet Exchange, Transparent Inter-process Communication, NetBIOS, and Fast and Secure Protocol.