0% found this document useful (0 votes)
5 views1 page

Progress Assessment (TCP and User Datagram Protocol (UDP) )

TCP and UDP are transport layer protocols with distinct communication approaches; TCP is connection-oriented and reliable, while UDP is connectionless and faster but less reliable. TCP is suitable for applications requiring accuracy and sequence, such as FTP and web browsing, whereas UDP excels in low-latency scenarios like real-time video streaming, online gaming, and VoIP where some data loss is acceptable. The choice between TCP and UDP depends on the specific needs of the application regarding speed and reliability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Progress Assessment (TCP and User Datagram Protocol (UDP) )

TCP and UDP are transport layer protocols with distinct communication approaches; TCP is connection-oriented and reliable, while UDP is connectionless and faster but less reliable. TCP is suitable for applications requiring accuracy and sequence, such as FTP and web browsing, whereas UDP excels in low-latency scenarios like real-time video streaming, online gaming, and VoIP where some data loss is acceptable. The choice between TCP and UDP depends on the specific needs of the application regarding speed and reliability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Compare and contrast TCP and User Datagram Protocol (UDP) as two
widely used transport layer protocols. Discuss the key differences in
their communication approach, reliability, and error handling
mechanisms. Explain the scenarios where TCP is more suitable, and
those where UDP shines, considering applications like real-time video
streaming, online gaming, and voice over IP (VoIP).
- TCP and UDP are both transport layer protocols, which are
developed from OSI model of data communication, but act in
different manner and used for different purposes:
 Communication Approach: TCP is connection oriented –
first an connection is established before actual data
transfer and only packets belonging to the connection will
be delivered. In contrast UDP is connectionless it used to
send packets of data in a network without creating any link
through which it proceeds and on this way transmission to
be faster but without any confirmed delivery.
 Reliability and Error Handling: TCP has excellent
mechanisms for controlling errors that can occur in data
transmission including the use of acknowledgments and
repeated transmissions. UDP, however, does not possess
these features therefore is less accurate but faster for the
application where speed is important.
- TCP is better suited for applications in which each piece of
data’s accuracy and the sequence in which it arrives are critical
to its usage. For instance:
 Transfer Protocol (FTP): Confirms that files are downloaded
with all their contents and in the proper sequence.
 Web Browsing (HTTP/HTTPS): Ensures that the web pages
and all the elements are well received and displayed.
On the other hand, UDP performs very well in conditions that low
latency is required, and a loss of data is not a significant issue.
For example:
 Real-time Video Streaming: In some cases, as with Netflix,
or YouTube, it is more important that the video plays
uniformly rather than perfectly, making UDP ideal.
 Online Gaming: While throughput is important in fast paced
games, data must be transmitted in short bursts allowing
the occasional lost packet to go unnoticed.
 Voice over IP (VoIP): While using services like Skype or
Zoom, UDP is preferred for multimedia communication,
even though some packets may be lost, its latency is low.

You might also like