Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Videos  >  Computer Networks  >  Comparison of Transport Protocols (UDP & TCP)

Comparison of Transport Protocols (UDP & TCP) Video Lecture | Computer Networks - Computer Science Engineering (CSE)

21 videos|107 docs|66 tests

Timeline

00:00 Introduction
00:07 About Transport Protocols
02:11 User Datagram Protocol
04:08 Transmission Control Protocol
09:00 So which one is better?
More

FAQs on Comparison of Transport Protocols (UDP & TCP) Video Lecture - Computer Networks - Computer Science Engineering (CSE)

1. What is the difference between UDP and TCP?
Ans. UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) are transport protocols used for data transmission over the internet. The main difference between UDP and TCP is that UDP is a connectionless protocol that does not guarantee the delivery of packets, whereas TCP is a connection-oriented protocol that ensures reliable delivery of packets.
2. When should I use UDP instead of TCP?
Ans. UDP is commonly used when the speed of transmission is more important than reliability. It is suitable for applications such as live streaming, online gaming, and real-time communication where occasional packet loss can be tolerated. TCP, on the other hand, is preferred for applications that require reliable and error-free delivery of data, such as file transfers and web browsing.
3. How does UDP achieve faster transmission compared to TCP?
Ans. UDP achieves faster transmission compared to TCP due to its connectionless nature. Unlike TCP, UDP does not establish a connection or perform handshaking before transmitting data. This reduces the overhead and latency associated with establishing and maintaining a connection. Additionally, UDP has a smaller header size, which results in lower overhead and faster transmission.
4. Can UDP guarantee the delivery of packets?
Ans. No, UDP cannot guarantee the delivery of packets. Since UDP is connectionless and does not perform error checking or retransmission of lost packets, there is a possibility of packet loss during transmission. However, UDP is often used in applications where occasional packet loss can be tolerated, such as real-time streaming or voice over IP (VoIP) applications.
5. Which protocol is more suitable for applications that require reliable data transmission?
Ans. TCP is more suitable for applications that require reliable data transmission. TCP ensures the reliable delivery of packets by using error checking, acknowledgment, and retransmission mechanisms. It guarantees that data packets are received in the correct order and without errors. Applications such as file transfer, email, and web browsing heavily rely on TCP for their reliable data transmission needs.
21 videos|107 docs|66 tests

Up next

Explore Courses for Computer Science Engineering (CSE) exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Important questions

,

video lectures

,

practice quizzes

,

Summary

,

Previous Year Questions with Solutions

,

Comparison of Transport Protocols (UDP & TCP) Video Lecture | Computer Networks - Computer Science Engineering (CSE)

,

pdf

,

study material

,

mock tests for examination

,

past year papers

,

Comparison of Transport Protocols (UDP & TCP) Video Lecture | Computer Networks - Computer Science Engineering (CSE)

,

Comparison of Transport Protocols (UDP & TCP) Video Lecture | Computer Networks - Computer Science Engineering (CSE)

,

MCQs

,

shortcuts and tricks

,

Objective type Questions

,

Exam

,

Free

,

Semester Notes

,

Viva Questions

,

Extra Questions

,

Sample Paper

,

ppt

;