Briefly describe the role and working mode of udp protocol

Source: Internet
Author: User

UDP is also a basic protocol in TCP. We will give a brief introduction to this protocol. The basic structure, workflow, and meaning of this Protocol have been explained through the simple description and illustration in the text.

The Internet protocol group also supports the connectionless transmission protocol UDPuser data protocol ).

UDP uses the underlying internet protocol to transmit packets, providing the same unreliable and connectionless datagram transmission service as IP addresses.

It does not use the confirmation information to confirm the arrival of packets, does not sort the received data packets, and does not provide feedback information to control the information traffic transmitted between machines.

The reliability of UDP communication, including packet loss, duplication, and disorder, is undertaken by UDP applications.

A tcp datagram includes an 8-byte header and data section.

The Header Format is shown in. It contains four 16-byte fields.

The source port and destination port are used to specify the port numbers of the source and destination ports, which are the same as those of TCP. The length field of the TCP protocol specifies the length of the datagram, including the 8-byte header and data.

The UDP checksum field is optional and is used to record the checksum of TCP Header, UDP pseudo header, and user data.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.