0% found this document useful (0 votes)
47 views5 pages

TCP-and-UDP-Protocols-A-Deep-Dive

Uploaded by

Mayank Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views5 pages

TCP-and-UDP-Protocols-A-Deep-Dive

Uploaded by

Mayank Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

TCP and UDP Protocols: A

Deep Dive
In the bustling world of computer networks, data travels through a complex system
of protocols. Today, we'll explore two crucial protocols: TCP (Transmission Control
Protocol) and UDP (User Datagram Protocol). Together, these protocols form the
foundation for reliable and efficient communication over the internet.
Understanding TCP and UDP
TCP: Reliable Communication UDP: Speed over Accuracy

TCP is a connection-oriented protocol, meaning it establishes a UDP, on the other hand, is connectionless and prioritizes speed over
secure connection before data transmission. It ensures data integrity guaranteed delivery. It doesn't establish a connection, sending data
and order, making it ideal for applications requiring reliable data in "datagrams" without confirmation. This makes it suitable for real-
delivery, such as email, file transfers, and web browsing. Imagine a time applications like video streaming and online gaming, where
phone call: TCP ensures every word is received in the right order. delays can be detrimental.
Comparing Advantages and Disadvantages
TCP Advantages TCP Disadvantages
Reliable data delivery Slower than UDP due to connection setup
Error detection and correction Higher overhead due to error checking
Flow control to prevent network congestion Not suitable for real-time applications

UDP Advantages UDP Disadvantages


Fast and efficient data transmission Data loss possible due to lack of error checking
Lower overhead due to lack of error checking Data may arrive out of order
Suitable for real-time applications Not suitable for applications requiring reliability
Examining Header Formats
TCP Header UDP Header
Source port Source port
Destination port Destination port
Sequence number Length
Acknowledgment number Checksum
Checksum
Thank You!
This concludes our exploration of TCP and UDP protocols.

Thank you for your attention.

MANASVI VERMA

Enrollment: 23BAI11185

You might also like