Home >Web Front-end >HTML Tutorial >What is the difference between TCP and UDP?
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!