answersLogoWhite

0

TCP is a connection-oriented protocol whereas UDP is a connectionless protocol.

TCP ensures data integrity and reliability. TCP is prefered when important data must be sent and verified that it arrived correctly and is most desirable in conditions that promote data corruption or loss. If a packet is lost or corrupt, TCP will automatically resend the packet and wait for a confirmation message back. TCP would be used in senarios such as transfering files, Surfing a webpage, or listening to pre-recorded on-demand music or video.

UDP is a fast, efficient protocol with low overhead that offers no redundancy to lost or corrupt packets. If a packet is lost or corrupt, the data is lost and no attempt is made to resend the information. UDP is prefered for streaming audio and/or video live such as Voice over IP phones, watching internet TV, or listening to internet radio.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

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.


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.


What ports are available on desktop computers?

Ports are something where you can connect output devices and other devices. Here is a list of different ports you can have: USB ports SD card reader port SATA ports (located on the motherboard)


Which two transport layer protocols enable hosts to communicate and transfer data?

TCP and UDP


Which is one of protocols of transport layer?

The two that are most commonly used are called TCP and UDP.


What two ways can a unit of data be sent across a network?

1 tcp transmission control protocol 2 udp protocol


Which are the two protocols associated with layer 4 of the OSI model?

There are actually more than two protocols associated with Layer 4. According to Wikipedia, there are Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Stream Control Transport Protocol (SCTP), Datagram Congestion Control Protocol (DCCP), and Internetwork Packet Exchange/Sequenced Packet Exchange (IPX/SPX).


Which two transport layer protocols are used to transfer messages between hosts?

The most common two are TCP (transmission control protocol) and UDP (user datagram protocol)


What port does DNS operate on?

Strictly speaking, the question is invalid, as DNS uses both UDP and TCP for its transport. The expected use is for DNS to run on top of UDP, with a fall-back to TCP for data packages that can't fit into a single 8K UDP packet. Large replies and zone transfers will fall in to this category. DNS can also be configured to work exclusively over TCP, but this isn't recommended. Early MS Windows systems used DNS over TCP exclusively. Fortunately the more recent editions (XP onwards) use DNS over UDP by default, falling back to TCP only when necessary. Why UDP rather than TCP? It's simply a matter of efficiency. To start a TCP connection a minimum of three packets are required (SYN out, SYN+ACK back, ACK out). By the time you add a data packet into that and close the session off correctly you will have sent several packets. In contrast, UDP can get away with a minimum of two packets (one question, one reply). DNSSec adds a layer of complexity to this, but with caching the extra resource required can usually be mitigated against a number of queries.


What are the two types of transport services that Internet provides to its applications?

list 2 major types of internet application and their use


What are the two protocols used in the transport layer?

TCP and UDP Correct: UDP (User Data-gram Protocol) is a communications protocol that offers a limited amount of service when messages are exchanged between computers in a network that uses the Internet Protocol. UDP provides two services not provided by the IP layer. It provides port numbers to help distinguish different user requests and, optionally, a checksum capability to verify that the data arrived intact. TCP (Transmission Control Protocol) is a set of rules (protocol) used along with the Internet Protocol (IP) to send data in the form of message units between computers over the Internet. While IP takes care of handling the actual delivery of the data, TCP takes care of keeping track of the individual units of data (called packets) that a message is divided into for efficient routing through the Internet. (TCP/IP) is the know definition by most.


How you can identify there is a connection between two networks?

A network A is connected to a network B if any networked device within network A can reach some device within network B. The question that is more significant is, "How can we tell if two computers are connected over a network". Let's answer this question with respect to UDP and TCP (two methods of network communication between hosts). In order for a connective or connectionless connection to be made between two computers, they must be running the same protocol, one or both devices involved must have either other's IP (Internet Protocol) addresses, and (at least) one machine must know the port that the other machine is using to run the network protocol.For UDP, no connection is actually established, even though a connection pipe may be available. Usually with UDP, a server runs an application which implements UDP on a specific port and clients listen over that port. Despite the fact that there is no acknowledgement between the client and server, data is transfered.TCP is similar except a 'handshake' occurs where two machines actually bind themselves to each other using a socket. Both the client and the server agree on ports to use to establish a connection.You can use applications like 'netstat' or 'nmap' to see what ports are being used (and what type of protocol is being used on that port). In addition, you can use a tool like 'wireshark' to see the actual TCP and UDP packet streams occurring over these ports. These TCP and UDP streams may be encapsulated within a higher level protocol like HTTP, SSH, FTP, or several other popular services.