UDP- DATAGRAM TRANSPORT SERVICE
INTRODUCTION:
UDP is the one of the transport protocols in TCP/IP protocol suite. UDP protocol accepts applications on the computers to transmit and receive datagram packet. UDP has a packet format. It uses best-effort delivery function.
THE NEED FOR TRANSPORT PROTOCOLS:
Internet protocol can not differentiate between application programs running on the similar computer. Fields in the IP datagram header denote to computers, not applications. A protocol that gives an application program to operate as the end point of communication is called as a transport protocol or an end-to-end protocol.
THE USER DATAGRAM PROTOCOL (UDP):
TCP/IP has two transport protocols:
UDP:
UDP is less complex and simpler to understand. It does not give the type of service a typical application expects.
CHARACTERISTICS OF UDP:
UDP has the following functionalities.
- It is an end-to-end protocol. It gives application-to-application communication.
- It gives connectionless service.
- It is a Message-Oriented architecture.
- It uses best-effort delivery function.
- It follows arbitrary interaction.
- It is platform independent.
THE CONNECTIONLESS PARADIGM:
UDP does not require to pre-establish communication and also there is no requirement to terminate communication. UDP allows an application to time delay long intervals between two messages. There are no Control Messages; only Data Messages. So it has very low load.
MESSAGE-ORIENTED INTERFACE:
UDP gives application programs a Message-Oriented Interface. It does not split messages into packets for transmission and does not include messages for delivery.
ADVANTAGES:
- Applications can relay on protocol to preserve data boundaries.
DISADVANTAGES:
- Each UDP message have to fit into a single IP datagram.
- It can result to an inefficient need of the underlying network.