Tag

three-way handshake

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Apr 21, 2025 · Fundamentals

TCP Protocol: Overview, Mechanisms, and Practical Usage

This article provides a comprehensive English guide to the Transmission Control Protocol (TCP), covering its connection‑oriented design, reliability features, packet structure, three‑way handshake, data transfer process, flow and congestion control, four‑step termination, and example C++ socket code for establishing, sending, receiving, and closing TCP connections.

C++ SocketTCPcongestion control
0 likes · 42 min read
TCP Protocol: Overview, Mechanisms, and Practical Usage
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.

DNSNetworkingTCP
0 likes · 13 min read
Understanding HTTP and TCP: From URL to Browser Rendering
Deepin Linux
Deepin Linux
Aug 16, 2023 · Fundamentals

Fundamentals of TCP/IP: Protocol Suite, Standardization Process, and Layered Model

This article provides a comprehensive overview of TCP/IP, covering its definition as a protocol suite, the open and practical standardization process driven by IETF, the role of RFCs and STD numbers, the multi‑stage standardization workflow, the layered architecture compared with the OSI model, and detailed explanations of packet headers, data flow, and connection management such as the three‑way handshake and four‑way termination.

OSI modelTCP/IPfour-way termination
0 likes · 31 min read
Fundamentals of TCP/IP: Protocol Suite, Standardization Process, and Layered Model
Top Architect
Top Architect
Aug 21, 2022 · Fundamentals

Understanding TCP and UDP: Principles, Differences, Handshakes, and Data Transmission

This article provides a concise overview of TCP and UDP, explaining their roles in the transport layer, key differences such as connection orientation and reliability, the three‑way handshake and four‑way termination processes of TCP, and the characteristics and use cases of UDP.

NetworkingTCPUDP
0 likes · 8 min read
Understanding TCP and UDP: Principles, Differences, Handshakes, and Data Transmission
Top Architect
Top Architect
Jul 22, 2022 · Fundamentals

Differences and Principles of TCP and UDP Protocols

This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences such as connection orientation and reliability, the three‑way handshake and four‑way termination processes of TCP, and the typical use cases and limitations of each protocol.

NetworkingTCPUDP
0 likes · 9 min read
Differences and Principles of TCP and UDP Protocols
Tencent Cloud Developer
Tencent Cloud Developer
Jul 20, 2022 · Fundamentals

Deep Dive into the TCP Three‑Way Handshake from the Linux Kernel Perspective

The article explains how the Linux kernel implements the TCP three‑way handshake, detailing server listen queue allocation, client connect port selection and SYN transmission, SYN‑ACK processing, state transitions, request‑socket management, full‑connection queue handling, and the final accept call, plus tuning tips.

CONNECTLinux KernelSocket Programming
0 likes · 19 min read
Deep Dive into the TCP Three‑Way Handshake from the Linux Kernel Perspective
IT Architects Alliance
IT Architects Alliance
Jun 12, 2022 · Fundamentals

TCP Three-Way Handshake and Four-Way Termination Explained

This article explains how TCP ensures reliable connections through the three-way handshake process—including SYN, SYN‑ACK, and ACK exchanges—and describes the four-step termination sequence with FIN and ACK flags, while also clarifying why three handshakes are necessary instead of two.

TCPfour-way terminationnetwork protocol
0 likes · 7 min read
TCP Three-Way Handshake and Four-Way Termination Explained
Wukong Talks Architecture
Wukong Talks Architecture
Sep 30, 2021 · Fundamentals

Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms

This article provides a comprehensive overview of computer networking fundamentals, covering OSI and TCP/IP layer models, the functions of each layer, detailed comparisons between TCP and UDP, the three‑way handshake, four‑way termination, SYN‑flood attacks, congestion control, and practical mitigation techniques.

SYN floodTCPUDP
0 likes · 21 min read
Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms
IT Architects Alliance
IT Architects Alliance
Sep 11, 2021 · Fundamentals

Understanding TCP: Protocol Basics, Three‑Way Handshake, and Why It Is Needed

This article explains the fundamentals of the Transmission Control Protocol, its reliable byte‑stream characteristics, the detailed three‑way handshake process, and why three steps are required to prevent duplicate or stale connections in network communication.

Connection EstablishmentTCPnetwork protocol
0 likes · 5 min read
Understanding TCP: Protocol Basics, Three‑Way Handshake, and Why It Is Needed
Refining Core Development Skills
Refining Core Development Skills
Jul 22, 2021 · Backend Development

Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough

This article explains the complete kernel‑level implementation of the TCP three‑way handshake, covering server listen queue allocation, client connect state handling, SYN/SYN‑ACK processing, syncookie protection, timer management, socket creation, and the accept path, with detailed code examples.

LinuxNetworkingTCP
0 likes · 16 min read
Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough
Efficient Ops
Efficient Ops
Nov 11, 2020 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained

The article uses a humorous long‑distance video‑chat scenario to illustrate why TCP requires a three‑way handshake for connection establishment and a four‑step termination, explaining each packet exchange, flag meanings, and related concepts such as half‑open connections and SYN‑flood attacks.

SYN attackTCPfour-way termination
0 likes · 11 min read
Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained
Architecture Digest
Architecture Digest
Oct 13, 2020 · Fundamentals

Understanding TCP Protocol: Header Fields, Three‑Way Handshake, and Four‑Way Teardown

This article explains the TCP protocol’s header structure, the purpose of each field, how the three‑way handshake establishes a reliable connection, why three steps are needed, and the four‑step process used to gracefully close a TCP session, including verification with Wireshark.

Four-way TeardownSocketTCP
0 likes · 13 min read
Understanding TCP Protocol: Header Fields, Three‑Way Handshake, and Four‑Way Teardown
Efficient Ops
Efficient Ops
Mar 1, 2020 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained

Using a quirky long-distance video-chat scenario, the article illustrates how TCP’s three-way handshake and four-way termination work, explains the purpose of each packet exchange, details TCP header fields, and even covers SYN-flood attacks, turning everyday communication glitches into networking fundamentals.

SYN floodTCPfour-way termination
0 likes · 10 min read
Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Apr 25, 2019 · Fundamentals

Demystifying TCP: Handshakes, Data Transfer, and Connection Teardown with Python

This article walks through the fundamentals of TCP, explaining its place in the OSI model, the three‑way handshake, window updates, data exchange, and the four‑way termination, while providing complete Python server and client code and Wireshark packet captures to illustrate each step.

PythonSocket ProgrammingTCP
0 likes · 12 min read
Demystifying TCP: Handshakes, Data Transfer, and Connection Teardown with Python
Java Captain
Java Captain
Apr 14, 2019 · Fundamentals

Understanding TCP Three-Way Handshake and Four-Way Termination for Interviews

This article explains the TCP three‑way handshake and four‑way termination processes, their state transitions, key interview points such as ISN, half‑connection queues, data transmission during handshakes, and the importance of the TIME_WAIT state, providing detailed answers suitable for technical interviews.

NetworkingTCPTCP States
0 likes · 12 min read
Understanding TCP Three-Way Handshake and Four-Way Termination for Interviews
JD Tech Talk
JD Tech Talk
Mar 6, 2019 · Fundamentals

Understanding TCP Three‑Way Handshake and Four‑Way Termination

This article explains the essential conditions for TCP communication, details the three‑step handshake and four‑step termination processes with packet‑capture illustrations, and discusses why these sequences ensure reliable connections between a client and a server.

TCPWiresharkfour-way termination
0 likes · 8 min read
Understanding TCP Three‑Way Handshake and Four‑Way Termination
Efficient Ops
Efficient Ops
Mar 8, 2018 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained

The article uses a quirky long‑distance video‑chat scenario to illustrate TCP’s three‑way handshake and four‑way termination, explaining the protocol’s packet format, flag meanings, SYN‑attack risks, and step‑by‑step connection establishment and teardown.

SYN attackTCPfour-way termination
0 likes · 11 min read
Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 11, 2016 · Fundamentals

Mastering TCP: The Three-Way Handshake and Four-Way Termination Explained

This article breaks down the TCP three‑way handshake and four‑way termination processes, explaining each packet exchange, the role of sequence numbers, the TIME_WAIT state, and why these steps are essential for reliable full‑duplex communication.

Full-duplexTCPTIME_WAIT
0 likes · 8 min read
Mastering TCP: The Three-Way Handshake and Four-Way Termination Explained