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

TCP Vs UDP

TCP is a connection-based protocol that ensures reliable data transmission with error-checking, while UDP is a connectionless protocol that allows for faster data transfer but lacks reliability. TCP guarantees delivery and can retransmit lost data, whereas UDP does not guarantee delivery and does not retransmit lost packets. Each protocol is suited for different applications, with TCP being ideal for tasks requiring accuracy and UDP for tasks prioritizing speed.

Uploaded by

muhammadcyber10
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

TCP Vs UDP

TCP is a connection-based protocol that ensures reliable data transmission with error-checking, while UDP is a connectionless protocol that allows for faster data transfer but lacks reliability. TCP guarantees delivery and can retransmit lost data, whereas UDP does not guarantee delivery and does not retransmit lost packets. Each protocol is suited for different applications, with TCP being ideal for tasks requiring accuracy and UDP for tasks prioritizing speed.

Uploaded by

muhammadcyber10
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

TCP vs UDP: Differences between the protocols

The main difference between TCP (transmission control protocol) and UDP (user datagram protocol) is
that TCP is a connection-based protocol and UDP is connectionless. While TCP is more reliable, it
transfers data more slowly. UDP is less reliable but works more quickly. This makes each protocol
suited to different types of data transfers.

Protocols are rules that govern how data is formatted and sent over a network. TCP and UDP are two
different methods for doing the same job: transferring data via the internet. They enable servers and
devices to communicate so you can send emails, watch Netflix, play games, and browse web pages.

TCP creates a secure communication line to ensure the reliable transmission of all data. Once a
message is sent, the receipt is verified to make sure all the data was transferred.

UDP does not establish a connection when sending data. It sends data without confirming receipt or
checking for errors. That means some or all of the data may be lost during transmission.

Here are the main differences between TCP and UDP:

Factor TCP UDP

Connection type Requires an established connection before No connection is needed to start and
transmitting data end a data transfer

Can sequence data (send in a specific


Data sequence Cannot sequence or arrange data
order)

Data Can retransmit data if packets fail to No data retransmitting. Lost data
retransmission arrive can’t be retrieved

Delivery Delivery is guaranteed Delivery is not guaranteed

Thorough error-checking guarantees data Minimal error-checking covers the


Check for errors
arrives in its intended state basics but may not prevent all errors

Broadcasting Not supported Supported

Fast, but at risk of incomplete data


Speed Slow, but complete data delivery
delivery

You might also like