+1 vote
89 views
by (98.9k points)
Differentiate between TCP and UDP.

1 Answer

0 votes
by (98.9k points)
 
Best answer
Feature TCP UDP
Connection Type Connection-oriented Connectionless
Reliability Reliable: ensures data delivery Unreliable: no guaranteed delivery
Acknowledgments Yes (acknowledgment for each packet) No acknowledgment of packet delivery
Order of Delivery Yes (maintains order of sent packets) No (order of delivery not guaranteed)
Flow Control Yes (implements flow control to manage data transfer) No (limited flow control, relies on the application)
Error Checking Yes (error-checking through checksums) Limited (optional checksum)
Header Size Larger header size Smaller header size
Transmission Speed Slower than UDP due to connection setup Faster than TCP due to no connection setup
Usage Reliable data transfer (e.g., file transfer, web browsing) Real-time applications (e.g., video streaming, online gaming)
Examples HTTP, FTP, SMTP DNS, DHCP, VoIP

Related questions

+1 vote
1 answer 109 views
0 votes
1 answer 394 views
+1 vote
1 answer 408 views
+1 vote
1 answer 124 views
+1 vote
0 answers 194 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...