Tag

connection termination

1 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Feb 17, 2024 · Fundamentals

Understanding TCP Connection Termination: Four-Way Handshake, Half‑Close, Shutdown, and TIME_WAIT

This article explains how TCP connections are gracefully closed using the four‑way handshake, describes half‑close and half‑open states, compares the close and shutdown system calls, details the TIME_WAIT state and its impact, and offers practical techniques to reduce or avoid TIME_WAIT accumulation.

Network ProgrammingTCPTIME_WAIT
0 likes · 12 min read
Understanding TCP Connection Termination: Four-Way Handshake, Half‑Close, Shutdown, and TIME_WAIT
Architect's Guide
Architect's Guide
Mar 1, 2023 · Fundamentals

Understanding the OSI Model, TCP/IP Model, and TCP/UDP Protocols with Handshake and Teardown

This article explains the OSI seven‑layer model and the simplified four‑layer TCP/IP model, describes the TCP/IP protocol suite, details how data is encapsulated and transmitted, compares TCP and UDP, and walks through TCP’s three‑way handshake, four‑way termination, and related security considerations.

Network ProtocolsOSI modelTCP
0 likes · 18 min read
Understanding the OSI Model, TCP/IP Model, and TCP/UDP Protocols with Handshake and Teardown
Qunar Tech Salon
Qunar Tech Salon
Sep 21, 2016 · Fundamentals

Understanding the TCP State Machine: Handshake, Four‑Way Termination, and Practical Experiments

This article explains the TCP three‑way handshake, four‑way termination, and related state transitions, illustrates uncommon scenarios such as simultaneous open and close, discusses half‑open connections, fd‑leak effects, and presents Linux‑based experiments with client.go and server.go code samples.

LinuxTCPconnection termination
0 likes · 15 min read
Understanding the TCP State Machine: Handshake, Four‑Way Termination, and Practical Experiments