Tagged articles
4 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Oct 29, 2024 · Fundamentals

Why Does TCP Keep Connections in TIME_WAIT? Uncover the Hidden Risks

This article explains the TCP state machine, details the four-way handshake, analyzes why the TIME_WAIT state lasts for two MSL intervals, and illustrates two critical problems caused by delayed packets and missing ACKs, providing examples and code snippets for deeper understanding.

Connection ManagementFour-way HandshakeMSL
0 likes · 11 min read
Why Does TCP Keep Connections in TIME_WAIT? Uncover the Hidden Risks
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2024 · Fundamentals

Understanding HTTP and TCP: From URL to Browser Rendering

The article walks through every step from typing a URL to final page rendering, detailing URL parsing, DNS lookup, TCP three‑way handshake and termination, HTTP request/response structure, congestion and flow control mechanisms, and the browser’s DOM, CSS, layout and painting processes.

BrowserDNSFour-way Handshake
0 likes · 13 min read
Understanding HTTP and TCP: From URL to Browser Rendering
MaGe Linux Operations
MaGe Linux Operations
Feb 25, 2024 · Backend Development

Mastering TCP Socket APIs: Server & Client Functions Explained

This article explains the TCP socket programming interface, detailing server and client API functions, their purposes, the three‑way handshake, state transitions, data transmission, segmentation, sticky‑packet issues, and the four‑way termination process, providing code examples and diagrams for clear understanding.

Four-way HandshakeNetwork programmingSocket API
0 likes · 14 min read
Mastering TCP Socket APIs: Server & Client Functions Explained
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2018 · Fundamentals

Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown?

This article explains why TCP requires a three‑way handshake to establish connections and a four‑step termination process, using a relatable video‑call scenario and detailed protocol diagrams to illustrate the underlying mechanisms and practical rules for confirming audio transmission.

Four-way HandshakeReliabilityTCP
0 likes · 10 min read
Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown?