Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is TCP connection?

Ook bekend als: three-way handshake

Definition 19.8 University Computer Science — Year 2 · Hoofdstuk 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.
Lees in het hoofdstuk →