Difference between TCP and UDP have?

table of Contents


1. Problem

  • Difference between TCP and UDP have?

2. Answers

  • TCP is a stream oriented transport control protocol connection, with high reliability, ensuring the correctness of data transmission, a verification retransmission mechanism, so there is no lost or scrambled. UDP is a connectionless datagram service, and do not check and modify the data reported, without waiting for the other's response, there will be packet loss, duplicate, the situation out of order, but with better real-time. UDP segment structure is simpler than the structure of the TCP segment, the network overhead is small;
  • See: Network Programming Fundamentals: UDP and TCP .
Published 279 original articles · won praise 283 · views 10000 +

Guess you like

Origin blog.csdn.net/Regino/article/details/105035989