menu search
brightness_auto
more_vert
Differentiate between TCP and UDP.
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
 
verified
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
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

Related questions

thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
0 answers

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

648 users

...