UDP (User Datagram Protocol) : Kavita Ahire Pucsd
UDP (User Datagram Protocol) : Kavita Ahire Pucsd
UDP
UDP lies between application layer and IP layer. Connectionless, unreliable transport protocol. UDP is light weight protocol. UDP is simpler than TCP
UDP
UDP is an unreliable transport protocol that can be used in the Internet UDP does not provide:
flow or error control connection management guaranteed in-order packet delivery
Connectionless services
Use of UDP
Suitable for processes that require simple request response communication Suitable for multicasting and broadcasting Flow and error control mechanism UDP is commonly used for streaming audio and video. Streaming media such as Windows Media audio files (.WMA) , Real Player (.RM), and others use UDP because it offers speed! The reason UDP is faster than TCP is because there is no form of flow control or error correction. The data sent over the Internet is affected by collisions, and errors will be present. Remember that UDP is only concerned with speed. This is the main reason why streaming media is not high quality. UDP is used for "live" streaming, especially in chat/conference, when you cannot tolerate several seconds delay.