What are the advantages and disadvantages between TCP and UDP?
Rachel Hernandez
Updated on April 29, 2026
Subsequently, one may also ask, what is the advantage of UDP over TCP?
Applications that require constant data flow, bulk data and which require fastness than reliability uses UDP over TCP. udp provides better application level control over what data is sent. since the data is packaged in a udp segment and immediately passed over to the network layer
Furthermore, why TCP is more reliable than UDP? TCP is better than UDP because of following reasons: TCP is Reliable as it provides reliability of delivery of packets to the receiver while UDP is Non-reliable and does not give information about the packets. TCP provides flow control and error control characteristics while UDP doesn't provide it.
Also, what is the main difference between TCP and UDP?
TCP is a connection-oriented protocol and UDP is a connection-less protocol. TCP establishes a connection between a sender and receiver before data can be sent. UDP does not establish a connection before sending data.
What uses UDP protocol?
Numerous key Internet applications use UDP, including: the Domain Name System (DNS), where queries must be fast and only consist of a single request followed by a single reply packet, the Simple Network Management Protocol (SNMP), the Routing Information Protocol (RIP) and the Dynamic Host Configuration Protocol (DHCP)
Related Question Answers
Which is faster TCP or UDP?
UDP is faster than TCP, and the simple reason is because its non-existent acknowledge packet (ACK) that permits a continuous packet stream, instead of TCP that acknowledges a set of packets, calculated by using the TCP window size and round-trip time (RTT). People say that the major thing TCP gives you is reliability.What is TCP or UDP?
They are TCP or Transmission Control Protocol and UDP or User Datagram Protocol. TCP is connection oriented – once a connection is established, data can be sent bidirectional. UDP is a simpler, connectionless Internet protocol. Multiple messages are sent as packets in chunks using UDP.Why would you use UDP?
The result is that UDP can: Achieve higher throughput than TCP as long as the network drop rate are within limits that the application can handle. Deliver packets faster than TCP with less delay. Setup connections faster as there are no initial handshake to setup the connection.Why would an application use UDP instead of TCP?
Typically, use UDP in applications where speed is more critical than reliability. For example, it may be better to use UDP in an application sending data from a fast acquisition where it is acceptable to lose some data points. TCP is for high-reliability data transmissions. UDP is for low-overhead transmissions.What is the purpose of ARP?
ARP - Address Resolution Protocol Short for Address Resolution Protocol, a network layer protocol used to convert an IP address into a physical address (called a DLC address), such as an Ethernet address. A host wishing to obtain a physical address broadcastsan ARP request onto the TCP/IP network.Why is TCP used?
Basically, TCP is a transport layer protocol in the OSI layer and it is used to create a connection between remote computers by transporting and ensuring the delivery of messages over supporting networks and the Internet.Is TCP built on UDP?
If you're asking if TCP can be implemented in UDP, the answer is no. Both TCP and UDP are built on top of the IP, but the TCP uses different packet structure and at the layer-2 it is not possible to mimic the TCP using UDP packets.What is best TCP or UDP?
TCP is comparatively slower than UDP. UDP is faster, simpler and more efficient than TCP. Retransmission of lost packets is possible in TCP, but not in UDP. There is no retransmission of lost packets in User Datagram Protocol (UDP).What is 3 way handshake?
A three-way handshake is a method used in a TCP/IP network to create a connection between a local host/client and server. It is a three-step method that requires both the client and server to exchange SYN and ACK (acknowledgment) packets before actual data communication begins.What is difference between HTTP and TCP?
TCP is in charge of setting up a reliable connection between two machines and HTTP uses this connection to transfer data between the server and the client. HTTP is used for transferring data while TCP is in charge of setting up a connection which should be used by HTTP in the communication process.What is meant by UDP protocol?
User Datagram Protocol (UDP) is part of the Internet Protocol suite used by programs running on different computers on a network. UDP is used to send short messages called datagrams but overall, it is an unreliable, connectionless protocol. UDP is officially defined in RFC 768 and was formulated by David P. Reed.How do I find my UDP port?
How to find your port number on Windows- Start your command prompt.
- Type ipconfig.
- Next type netstat -a for a list of your various port numbers.