Prerequisite – carry Layer responsibilities, TCP, UDPTransmission regulate protocol (TCP)User datagram protocol (UDP)TCP is a connection-oriented protocol. Connection-orientation means that the communicating devices should establish a connection prior to transmitting data and should near the link after transmitting the data.UDP is the Datagram oriented protocol. This is due to the fact that there is no overhead for opening a connection, keeping a connection, and also terminating a connection. UDP is effective for broadcast and also multicast form of network transmission.TCP is trusted as it assures the shipment of data come the location router.The distribution of data to the location cannot be guarantee in UDP.TCP provides comprehensive error checking mechanisms. It is because it provides flow control and also acknowledgement that data.UDP has only the simple error checking mechanism using checksums.Sequencing that data is a attribute of Transmission control Protocol (TCP). This method that packets arrive in-order at the receiver.There is no sequencing of data in UDP. If the bespeak is required, it has to be managed by the application layer.TCP is comparatively slower 보다 UDP.UDP is faster, simpler, and much more efficient 보다 TCP.Retransmission of shed packets is possible in TCP, yet not in UDP.There is no retransmission of lost packets in the User Datagram Protocol (UDP).TCP has a (20-60) bytes variable size header.UDP has actually an 8 bytes fixed-length header.TCP is heavy-weight.UDP is lightweight.TCP doesn’t assistance Broadcasting.UDP supports Broadcasting.TCP is offered by HTTP, HTTPs, FTP, SMTP and also Telnet.UDP is offered by DNS, DHCP, TFTP, SNMP, RIP, and also VoIP.
A brief example to understand the differences clearly :Suppose there room two houses, H1 and H2 and a letter has to be sent from H1 to H2. But there is a river in in between those 2 houses. Now how have the right to we send the letter?Solution 1: do a bridge over the river and then it have the right to be delivered.Solution 2: acquire it ceded through a pigeon.Consider the an initial solution as TCP. A connection has to made ( bridge ) to gain the data (letter) delivered.The data is reliable since it will straight reach one more end without loss in data or error.And the 2nd solution is UDP. No link is required for sending out the data.The process is rapid as compare to TCP, where we require to set up a connection(bridge).

You are watching: What three characteristics about tcp distinguish it from udp?

See more: How Did Joseph Stalin Maintain Power In The Soviet Union During The Great Terror

Yet the data is no reliable: we don’t understand whether the pigeon will certainly go in the ideal direction, or it will certainly drop the letter on the way, or some worry is encountered in mid-travel.typesAttention reader! Don’t stop discovering now. Exercise GATE exam well before the actual exam through the subject-wise and also overall quizzes obtainable in GATE Test collection Course.Learn every GATE CS ideas with cost-free Live Classes on ours youtube channel.