Home  >  Article  >  Why does a confirmation need to be sent at the end when establishing a TCP connection?

Why does a confirmation need to be sent at the end when establishing a TCP connection?

藏色散人
藏色散人Original
2020-06-29 09:28:432572browse

A confirmation must be sent at the end of establishing a TCP connection because it is necessary to prevent the expired connection request segment from suddenly being transmitted to the TCP server to avoid errors. TCP, the Transmission Control Protocol, is a connection-oriented, reliable A transport layer communication protocol based on byte streams.

Why does a confirmation need to be sent at the end when establishing a TCP connection?

This is mainly to prevent the invalid connection request segment from suddenly being transmitted to the TCP server to avoid errors.

Introduction to TCP:

Transmission Control Protocol (TCP, Transmission Control Protocol) is a connection-oriented, reliable, byte-based Streaming transport layer communication protocol, defined by IETF's RFC 793.

TCP is designed to accommodate a layered protocol hierarchy that supports multiple network applications. TCP is relied upon to provide reliable communication services between pairs of processes in a host computer connected to different but interconnected computer communication networks. TCP assumes that it can obtain simple, possibly unreliable datagram services from lower-level protocols. In principle, TCP should be able to operate on top of a variety of communications systems, from hardwired connections to packet-switched or circuit-switched networks.

The above is the detailed content of Why does a confirmation need to be sent at the end when establishing a TCP connection?. 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