The characteristics of TCP are:
1. TCP is a connection-oriented transport layer protocol
. Before an application can use the TCP protocol, it must first establish a TCP connection. After the data transfer is completed, the established TCP connection must be released.
2. Each TCP connection can only have two endpoints
, and each TCP connection can only be point-to-point
(one-to-one).
3. TCP provides reliable delivery
services. Data transmitted over a TCP connection is error-free, not lost, not duplicated, and arrives in order.
4. TCP provides full-duplex communication
. TCP allows application processes on both sides of the communication to send data at any time. Both ends of the TCP connection are equipped with send buffers and receive buffers, using
to temporarily store bidirectional communication data.
5, Oriented to byte stream
. A "stream" in TCP refers to a sequence of bytes that flows into or out of a process.
Recommended tutorial: "Website Construction Video Tutorial"
The above is the detailed content of What are the characteristics of tcp?. For more information, please follow other related articles on the PHP Chinese website!