Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é TCP connection?

Também chamado de: three-way handshake

Definition 19.8 University Computer Science — Year 2 · Capítulo 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.
Ler no capítulo →