COMPUTER NETWORKING

APPLICATION LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When will it be appropriate to use UDP instead of TCP?
A
Sending an email
B
Sending an image
C
Streaming Live
D
Sending a music file
Explanation: 

Detailed explanation-1: -If your streaming content is recorded and made available to the viewers later, such as in the form of VOD, then TCP works well. On the other hand, UDP is typically used for live streaming and multicast video conferencing. Such applications normally require their own protocol (commonly RTP/RTCP over UDP) on top of UDP.

Detailed explanation-2: -UDP is faster and more efficient than TCP It allows data transmission to begin faster without delays or extended latency time. There is also no need to put the packets in sequence or send and receive acknowledgments, saving time. In addition to latency, UDP is also more efficient in terms of bandwidth.

Detailed explanation-3: -Typically, applications that transfer data files will use TCP since the protocol’s latency and performance issues are not that critical. UDP benefits applications that need to receive data quickly even if accuracy suffers. This is why real-time applications like audio and video streaming will often use UDP.

Detailed explanation-4: -TCP uses packet retransmissions to recover from packet losses and packet re-ordering. It‟s argues that retransmissions can introduce unacceptable end-to-end latency. In multimedia streaming, unlike in other cases, this is not appropriate given the real-time nature of the content.

There is 1 question to complete.