Quantcast
answersLogoWhite
notificationBell
Computer Networking
Local Area Network
The Difference Between

Difference between TCP and UDP?


Top Answer
User Avatar
Wiki User
Answered 2009-03-27 13:35:37

# 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.

123
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

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 is the main difference between TCP and UDP?

Both are the protocols of network layer. Main difference between both of them is TCP is connection oriented while UDP is connection less.


What are 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.


Differences between TCP and UDP?

TCP & UDP both are Internet Protocol, Main differences between two are :- TCP : Reliable, Ordered and Heavy Weight UDP: Un-Reliable, Unordered & Light Weight


Difference TCP and UDP?

TCP is the protocol of network layer, It is connection oriented protocol. UDP is the protocol of network layer, It is connection less protocol.


What is the difference between TCP and UDP socket?

TCP and UDP are both communication network protocols. TCP protocol in its essence is to guarantee delivery of information, and in the order sent. UDP protocol is lighter, by fact of not checking for the connection to be ready to receive on the other end, not checking if the information getting to the other end is correctly received.


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 .


What are difference between tcp and UDP?

Both the protocols differ in the way they carry out the action of communicating. A TCP protocol establishes a two way connection between a pair of computers , while the UDP protocol is one-way message sender. The common analogy is that TCP is like making a phone call and carrying on a two-way communication, while UDP is like mailing a letter.


What is the difference between UDP and the TCP protocol?

Both the protocols differ in the way they carry out communication , also both are network layer protocols . A TCP protocol establishes a two way connection between a pair of computers , while the UDP protocol is one-way message sender. That is in TCP, Acknowledgement is also sent after receiving the message while there is no such acknowledgement sent after receiving the message in UDP.


What is the purpose of tcp and udp protocol?

The purpose of TCP is a connection oriented protocol, meaning that protocol establishes a connection or session between the sources and destination device prior to sending the data segment. UDP is transport layer protocol that provides an interface between the application layer and the network layer.


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.


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.


The port numbers to open xbox live?

This information came from the Microsoft page.TCP 80UDP 88UDP 3074TCP 3074UDP 53TCP 53


What is the Difference between the TCP and UDP in computer networking?

An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.


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 best use between TCP and UDP?

TCP is a connection protocol and UDP is a connection-less protocol. TCP are used when you want to control the quality to the receiver. I.e. you send the package and the receiver acknowledge that the package is received ok. FTP and HTTP are two examples. With UDP you just send the data to whoever requests it, it can even be to multiple users. For example, video streaming. UDP is much faster then TCP.


Differentiate between TCP and UDP protocal?

TCP is a protocal that keeps track of data loss and has ways of handling lost packets. UDP does not have this ability and packet loss must be handled by the programmer.


What application layer protocol is commonly used to support for the file transfers between client and server?

You can use either TCP or UDP. If you need reliable connection use TCP otherwise UDP.


Compare the TCP header and the UDP header?

Both TCP and UDP have origin and destination ports - and that is about all the similarity there is between the two. TCP has several other fields that UDP doesn't have, including window size; a consecutive byte numbering (to figure out where to place a TCP segment in a data stream); the bytes that the other side is expected to send; and others.


Which OSI layer does TCP operate?

Transport layer -->TCP,UDP



Does FTP use TCP or UDP?

FTP uses TCP because the file transfer has to be correct.TFTP uses UDP for speed, but not everything will get there.


On which layer OSI model do TCP and UDP work?

TCP and UDP are transport layer protocols; the OSI layer is layer 4 (transport)


When should you use UDP rather than TCP?

You use UDP when the major concern is speed; TCP is used when the major concern is reliability.


Still have questions?

Trending Questions
How to Make Money Online? Asked By Wiki User
Best foods for weight loss? Asked By Wiki User
Does Neil Robertson wear a wig? Asked By Wiki User
Previously Viewed
Difference between TCP and UDP? Asked By Wiki User
Unanswered Questions