Server Leasing---Common network protocols: A brief analysis of the difference between TCP and UDP

Source: Internet
Author: User
Tags server hosting

Server Leasing--- Common network protocols: The difference between TCP and UDP and TCP and UDP difference

TCP--- Transmission Control Protocol , which provides a connection-oriented, reliable byte-stream service. Before customers and servers Exchange data with each other, they must first establish a

a TCP Connection before the data can be transferred. TCP provides time-out re-send, discard duplicate data, test data, flow control and other functions to ensure that the data can be from a

To the other end.

UDP---The User Datagram Protocol is a simple transport layer protocol for datagram. UDP does not provide reliability, it simply passes the application to the IP layer

datagrams are sent out, but are not guaranteed to reach their destination. Because UDP does not have to establish a connection between the client and the server before transmitting the datagram,

and there is no time-out to re-send the mechanism, so fast transmission speed

The difference between TCP and UDP :

1. Connection-based and no-connection

2. Requirements for system resources (moreTCP ,lessUDP )

3. the structure of the UDP program is relatively simple

4. Flow mode and datagram mode

5. TCP guarantees data correctness,UDP may drop packets,TCP guarantees data order,UDP does not guarantee

Small New Enterprise Reed 2851506992 Q604906005 tell:15013023312

Hengyang High-protection server rental , server hosting , large bandwidth rental of enclosures

Hengyang Machine Room export 500G , 30g--200g High Defense,

Open UDP Open the Port Ignore Cc/udp/syn Attack!

New configuration Dell R610 , eight-core 16 threads

Hunan IDC room    high anti-height with Baidu segment &NBSP, Dell Brand Server

G Port Access ! Stable! High-protection! Second Solution! Real Defense!

Server Leasing---Common network protocols: A brief analysis of the difference between TCP and UDP

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.