TCP: protocol guide / panduan protokol
Establish a reliable byte stream with the three-way handshake.
Bangun aliran byte andal melalui handshake tiga arah.
Communication walkthrough / Alur komunikasi
- SYN
The client proposes initial sequence 1000. SYN consumes one sequence number.
Klien mengusulkan sequence awal 1000. SYN memakai satu nomor sequence.
- SYN, ACK
The server acknowledges 1001 and proposes its own sequence 5000.
Server mengakui 1001 dan mengusulkan sequence sendiri, 5000.
- ACK
The client acknowledges 5001. Both endpoints can now send application bytes.
Klien mengakui 5001. Kedua endpoint kini dapat mengirim byte aplikasi.
- Application data
Five bytes start at 1001; the next expected sequence becomes 1006.
Lima byte dimulai pada 1001; sequence berikutnya adalah 1006.
- Cumulative ACK
The receiver confirms all bytes before 1006, not each individual packet.
Penerima mengonfirmasi semua byte sebelum 1006, bukan setiap paket.
Source and simulation scope
This is a simplified, deterministic teaching scenario. Timing is illustrative. Messages grouped within one event are explicitly condensed. Hexadecimal fixtures, where shown, contain only the indicated protocol ADU, not a full network capture. No PCAP files are supplied.
RFC 9293 ↗