Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « TCP connection » ?

Aussi appelé : three-way handshake

Definition 19.8 University Computer Science — Year 2 · Chapitre 19 — The Transport Layer: UDP and TCP

A TCP connection is the state two ends keep about one byte stream in each direction: the sequence numbers sent and acknowledged, the windows, and a connection state such as ESTABLISHED. It is opened by a three-way handshake: the client sends SYN with its starting sequence number, the server answers SYN+ACK with its own, and the client acknowledges it. Each end later closes its direction separately with FIN.

The handshake and a close initiated by the client, with the state each end enters (time runs downwards). The side that closes first waits in TIME-WAIT before forgetting the connection.
The handshake and a close initiated by the client, with the state each end enters (time runs downwards). The side that closes first waits in TIME-WAIT before forgetting the connection.
Lire dans le chapitre →