1. User Datagram Protocol (UDP) :
UDP is a Transport Layer protocol. It is a part of Internet Protocol suite, referred as UDP/IP suite. It is unreliable and connection-less protocol. Hence, there is no need to establish connection prior to data transfer. UDP sockets are an example of datagram sockets. It is more efficient in multicasting and broadcasting.
2. Real Time Transport Protocol (RTP) :
Real-Time Transport Protocol (RTP) is a internet protocol which is used for delivering audio and video over networks. It is basically used in communication and entertainment systems that involve streaming media.
Difference between UDP and RTP :
|1.||UDP stands for User Datagram Protocol.||RTP stands for Real-time Transport Protocol.|
|2.||UDP is the Datagram oriented protocol. It is because there is no overhead for opening a connection, maintaining a connection, and terminating a connection.||RTP is a internet protocol which is used for delivering audio and video over networks.|
|3.||It is a connection-less protocol.||It is a stateless protocol.|
|4.||UDP is slower, simpler and less efficient as compared.||RTP is faster, simpler and more efficient than UDP.|
|5.||UDP is used for real-time streaming.||RTP is used for real-time streaming.|
|6.||It has no retransmission of lost packets.||It can tolerate packet loss.|
|7.||It supports broadcasting and multicasting.||It also supports broadcasting and multicasting.|
|8.||UDP is unreliable.||RTP is less reliable.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between TCP and RTP
- Real Time Transport Protocol (RTP)
- Difference between SCTP and UDP
- Differences between TCP and UDP
- Why does DNS use UDP and not TCP?
- TCP and UDP server using select
- TCP and UDP in Transport Layer
- Various TCP and UDP ports
- C program for file Transfer using UDP
- UDP Server-Client implementation in C
- User Datagram Protocol (UDP)
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference and Similarities between PHP and C
- Difference between Time Tracking and Time and Attendance Software
- Difference Between Single and Double Quotes in Shell Script and Linux
- Difference between ++*p, *p++ and *++p
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.