TCP/UDP protocol

Source: Internet
Author: User

The Transport Layer establishes port-to-port communication.
The IP addresses at the network layer distinguish subnets. MAC addresses at the Ethernet layer help us find hosts. Then everyone is using applications. You may have multiple applications on your computer, such as QQ, storm audio and video, and so on. Then we found a specific host through IP address and Mac, the answer to how to identify the application on this host is the port, which is the number associated with the application and the NIC.

TCP protocol

Reliable transmission: TCP data packets have no length restrictions. Theoretically, they can be infinitely long. However, to ensure network efficiency, the length of TCP data packets will not exceed the length of IP data packets, to ensure that a single TCP packet does not need to be split.

UDP protocol

Unreliable transmission. The "Header" contains only eight bytes, and the total length cannot exceed 65,535 bytes. It is placed into an IP packet.

TCP/UDP protocol

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.