TCP (Transmission Control Protocol) is a connection type, and UDP (User Datagram Protocol) is a connectionless type. This means that TCP must track all data sent and check each octet (usually). UDP does not use any acknowledgments, and is normally used for protocols that are not important because fewer datagrams are lost.
Through verification, TCP is considered a reliable data transfer protocol. It prevents out-of-order, duplicated, or lost data from being sent to higher-level applications. It can manage even sent to try to reduce congestion
UDP is a very lightweight protocol defined in RFC 768. Major uses of UDP include service announcements such as routing protocol updates and server availability, one-to-many multicast applications, lost streaming applications such as voice and video. Datagrams are far less important than out-of-order datagrams. *
When Person A sends a message to Person B, the way that the message first tries to relay is to use UDP (User Datagram Protocol). In addition to UDP, there is TCP (Transmission Control Protocol). The main difference between TCP and UDP you may care about is that UDP has a high rate of passing through the firewall, whereas TCP is not. Another difference is that TCP will transmit data at a slower rate than UDP because the sender and receiver are always connected and the messages are checked in order for TCP to function. In order for UDP to function correctly, the sender simply continues to send data to the recipient, and the sender does not even have to wait for the recipient to receive the message. Continue to send as it is. Therefore, UDP is much faster than TCP.
There are some similarities and differences between Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). One difference is that TCP is a connection-oriented protocol because it establishes an end-to-end connection between computers before transferring data. On the other hand, UDP is a connectionless protocol. It is because I can not be sure about the connection before sending the data. The similarity is that both TCP and UDP exist in the transport layer of the TCP / IP model. Other differences are described in the next article
The transport layer is controlled by two protocols, TCP and UDP. TCP is a responsible, grown brother who ensures that recipients receive all data. I do not care about UDP at all. After sending the data, the UDP job is completed. This happens when your Netflix stream gets worse - some packages are lost along the way, but Robot has already begun, so resending them is meaningless. This is UDP. People who earn a lot of money via the Internet are not the creator of that. Most of the value is captured by resource managers such as ISPs or by service providers such as Facebook. Smaller fish and users are dominated by larger participants and the value generated by network and community effects is absorbed by a few people