Home >Web Front-end >HTML Tutorial >What is the difference between TCP and UDP?

What is the difference between TCP and UDP?

一个新手
一个新手Original
2017-10-14 09:20:291806browse

TCP (Transmission Control Protocol, Transmission Control Protocol) is a connection-based protocol, which means that before formally sending and receiving data, a reliable connection must be established with the other party. A TCP connection must go through three "conversations" before it can be established
UDP (User Data Protocol, User Datagram Protocol) is the protocol corresponding to TCP. It is a non-connection-oriented protocol. It does not establish a connection with the other party, but directly sends the data packet there! UDP is suitable for application environments that only transmit a small amount of data at a time and do not require high reliability.

The above is the detailed content of What is the difference between TCP and UDP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn