answersLogoWhite

0

Differences between TCP and UDP

Updated: 12/18/2022
User Avatar

Wiki User

14y ago

Best Answer

# TCP(Transmission Control Protocol). TCP is a connection-oriented protocol, a connection can be made from client to server, and from then on any data can be sent along that connection. #* Reliable - when you send a message along a TCP socket, you know it will get there unless the connection fails completely. If it gets lost along the way, the server will re-request the lost part. This means complete integrity, things don't get corrupted. #* Ordered - if you send two messages along a connection, one after the other, you know the first message will get there first. You don't have to worry about data arriving in the wrong order. #* Heavyweight - when the low level parts of the TCP "stream" arrive in the wrong order, resend requests have to be sent, and all the out of sequence parts have to be put back together, so requires a bit of work to piece together. # UDP(User Datagram Protocol). A simpler message-based connectionless protocol. With UDP you send messages(packets) across the network in chunks. #* Unreliable - When you send a message, you don't know if it'll get there, it could get lost on the way. #* Not ordered - If you send two messages out, you don't know what order they'll arrive in. #* Lightweight - No ordering of messages, no tracking connections, etc. It's just fire and forget! This means it's a lot quicker, and the network card / OS have to do very little work to translate the data back from the packets.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

TCP & UDP both are internet Protocol, Main differences between two are :-

TCP : Reliable, Ordered and Heavy Weight

UDP: Un-Reliable, Unordered & Light Weight

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Differences between TCP and UDP
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the most significant difference between the Layer 4 TCP and the Layer 4 UDP?

the main difference between UDP and TCP is that UDP is not a reliable protocol.


What are the Differences between IP and UDP protocols?

1. IP works at network layer, UDP works at transport layer. 2. UDP carries application data, IP carries TCP segments or UDP datagrams.


What is fastest udp or tcp?

UDP


What is the main difference between TCP and UDP?

in udp there is no check for error detection as well as the packect has reached to destination or not. where as tcp takes care of all this that's why it is slower than udp.


When is UDP preferred to TCP?

UDP and TCP both are transport layer protocols. UDP is connection less and TCP is connection oriented. UDP is preferred over TCP when large amount data is to be sent like on skype or video conferencing .


Does sftp use tcp or udp?

TCP


What accurately describes tcp and udp?

TCP and UDP are two different layer 4 protocols. TCP reliably sends data with acknowledgments and UDP sends data without checking if the destination received it. Skype uses UDP while email uses TCP.


What is a layer four header?

In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.


Differentiate between TCP and UDP protocal?

What are the similarities and differences between IUP and IUD? The differences are that IUP is something helping in professional degrees and everything else. IUD is where everyone is probably into drugs or dating or other things that dont make sense


Why would you use UDP but not Tcp in real time application?

UDP is alot faster than TCP. So if its realtime obviously it has to be fast, thus UDP. The only problem is UDP isn't as reliable or as secure as TCP. But it does have the speed advantage.


Would you choose tcp or UDP www browsing?

It depends on whether you want speed (UDP) or reliability (TCP).


What is the transport layer protocol used in VOIP?

Transport layer TCP/IP Protocols are TCP and UDP