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