Tagged articles
69 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 21, 2026 · Fundamentals

Understanding TCP: Protocol Basics, Handshakes, States, and Performance Optimizations

TCP is a connection‑oriented, reliable, byte‑stream transport protocol; this article explains its header fields, state diagram, three‑way handshake, four‑way termination, TIME_WAIT handling, optimization techniques, and contrasts it with UDP, providing detailed Linux commands and kernel parameters.

HandshakeLinuxPerformance Optimization
0 likes · 26 min read
Understanding TCP: Protocol Basics, Handshakes, States, and Performance Optimizations
Raymond Ops
Raymond Ops
Oct 8, 2025 · Fundamentals

Master TCP Handshakes: The Simplest Guide to 3‑Way and 4‑Way Connections

This comprehensive tutorial explains TCP's connection establishment and termination processes, covering protocol features, key flag definitions, step‑by‑step three‑way handshake and four‑way teardown, common interview questions, TIME_WAIT details, abnormal scenarios, and a Wireshark packet‑capture walkthrough.

Connection ManagementHandshakeTCP
0 likes · 11 min read
Master TCP Handshakes: The Simplest Guide to 3‑Way and 4‑Way Connections
Raymond Ops
Raymond Ops
Sep 17, 2025 · Fundamentals

Why UDP Is the Wild West of Internet Protocols and How TCP Tames It

This article compares UDP and TCP by using vivid analogies, explaining UDP's connectionless, fast but unreliable nature and TCP's reliable, connection‑oriented handshake and termination processes, while highlighting their respective advantages, drawbacks, and typical real‑time application scenarios.

ConnectionlessHandshakeNetwork Protocols
0 likes · 10 min read
Why UDP Is the Wild West of Internet Protocols and How TCP Tames It
Cognitive Technology Team
Cognitive Technology Team
Aug 24, 2025 · Fundamentals

Why TCP’s Three‑Way Handshake and Four‑Way Teardown Matter for Reliable Networks

Understanding TCP’s three‑way handshake and four‑way termination reveals how reliable connections are established and gracefully closed, highlighting the protocol’s core mechanisms—sequence numbers, acknowledgments, flow control, and TIME‑WAIT—while also addressing performance considerations, optimization techniques, and the future impact of emerging protocols like QUIC.

HandshakeNetworkingReliability
0 likes · 12 min read
Why TCP’s Three‑Way Handshake and Four‑Way Teardown Matter for Reliable Networks
Lin is Dream
Lin is Dream
Jul 22, 2025 · Information Security

Why HTTPS Needs More Than a Handshake: One‑Way vs Mutual TLS Explained

This article walks through the differences between plain HTTP, HTTPS one‑way authentication, and mutual TLS, detailing the TCP handshake, TLS handshakes, certificate creation, file‑type conventions, and practical security considerations for developers and engineers.

HTTPSHandshakeOpenSSL
0 likes · 16 min read
Why HTTPS Needs More Than a Handshake: One‑Way vs Mutual TLS Explained
MaGe Linux Operations
MaGe Linux Operations
Feb 19, 2025 · Fundamentals

Mastering TCP Connection States: From Handshake to Backlog Tuning

This article explains the eleven TCP connection states, details the three‑way handshake and four‑way termination processes, compares half‑ and full‑connection queues, and provides Linux kernel parameters and commands for tuning server backlog and handling common TCP issues.

BacklogConnection StatesHandshake
0 likes · 20 min read
Mastering TCP Connection States: From Handshake to Backlog Tuning
Architecture Digest
Architecture Digest
Oct 14, 2024 · Information Security

Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services

The article analyzes why a high‑concurrency data‑collection service quickly saturates a 100 Mbps uplink due to large TLS handshake payloads, demonstrates the bandwidth savings of switching to plain HTTP or using Keep‑Alive, and highlights practical considerations for secure versus performance‑optimized deployments.

HTTPSHandshakeKeep-Alive
0 likes · 4 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
Deepin Linux
Deepin Linux
Oct 14, 2024 · Fundamentals

TCP Reliable Transmission Mechanisms and Implementation Details

This article explains how TCP ensures reliable data transfer through connection management, sequence and acknowledgment mechanisms, retransmission strategies, flow control, and congestion control, and includes C++ example code illustrating a simple client‑server file transfer implementation.

C++ exampleHandshakeTCP
0 likes · 39 min read
TCP Reliable Transmission Mechanisms and Implementation Details
Liangxu Linux
Liangxu Linux
Jun 2, 2024 · Fundamentals

Mastering TCP: Handshakes, Flow Control, Congestion Control & More

This comprehensive guide covers TCP fundamentals—including differences from UDP, the three‑way and four‑way handshakes, half‑open queues and SYN flood attacks, header fields, Fast Open, timestamps, RTO calculation, flow and congestion control, Nagle algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear explanations and practical examples for engineers.

Fast OpenFlow ControlHandshake
0 likes · 27 min read
Mastering TCP: Handshakes, Flow Control, Congestion Control & More
Linux Code Review Hub
Linux Code Review Hub
Apr 10, 2024 · Fundamentals

Decoding the Mysterious Language of USB 2.0 Packets: A Deep Dive

This article breaks down the USB 2.0 communication protocol by explaining how raw serial bits are organized into fields and packets—covering SYNC, PID, address, endpoint, frame number, data, CRC, as well as token, SOF, data, split‑transaction and handshake packets, with concrete examples and timing details.

CRCHandshakePID
0 likes · 21 min read
Decoding the Mysterious Language of USB 2.0 Packets: A Deep Dive
Liangxu Linux
Liangxu Linux
Oct 26, 2023 · Fundamentals

Understanding TCP vs UDP: Key Differences, Handshakes, and When to Use Each

This article explains the fundamentals of TCP and UDP, comparing their reliability, connection models, flow and congestion control, error detection, and detailing the three‑way handshake and four‑way termination processes to help readers choose the appropriate protocol for different applications.

Flow ControlHandshakeNetwork Protocols
0 likes · 8 min read
Understanding TCP vs UDP: Key Differences, Handshakes, and When to Use Each
Liangxu Linux
Liangxu Linux
Oct 19, 2023 · Fundamentals

Why TCP’s Handshakes, Headers, and Congestion Controls Really Matter

This comprehensive guide explains TCP fundamentals—including the differences from UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, Fast Open, timestamps, retransmission timers, flow control, congestion control, Nagle’s algorithm, delayed ACKs, and keep‑alive—providing clear diagrams and practical insights for engineers.

HandshakeNetworkingProtocols
0 likes · 27 min read
Why TCP’s Handshakes, Headers, and Congestion Controls Really Matter
MaGe Linux Operations
MaGe Linux Operations
Aug 7, 2023 · Fundamentals

Short vs Long TCP Connections: When to Use Each and How to Keep Them Alive

TCP connections can be either short-lived, closing after a single request‑response cycle, or long-lived, staying open for multiple exchanges; this article explains their handshake processes, advantages, drawbacks, typical use cases, reasons long connections drop, and practical strategies such as keepalive and reconnection to maintain reliability.

HandshakeKeepaliveTCP
0 likes · 10 min read
Short vs Long TCP Connections: When to Use Each and How to Keep Them Alive
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.

Connection terminationHandshakeTCP/IP
0 likes · 18 min read
Understanding the OSI Model, TCP/IP Model, and TCP/UDP Protocols with Handshake and Teardown
Liangxu Linux
Liangxu Linux
Jan 3, 2023 · Information Security

Why Can Public Key Encrypt but Not Decrypt? Unpacking HTTPS Encryption

An in‑depth guide explains the difference between symmetric and asymmetric encryption, why a public key can encrypt but not decrypt, and walks through the TLS 1.2 handshake that underpins HTTPS, covering certificates, random numbers, session key derivation, and the role of public‑private key pairs.

HTTPSHandshakeTLS
0 likes · 16 min read
Why Can Public Key Encrypt but Not Decrypt? Unpacking HTTPS Encryption
Architecture Digest
Architecture Digest
Aug 12, 2022 · Fundamentals

Differences and Principles of TCP and UDP Protocols

This article explains the fundamental differences between TCP and UDP, covering their purposes, reliability, speed, handshake mechanisms, data transmission processes, and termination procedures, and includes visual diagrams to illustrate each concept in.

Data TransmissionHandshakeNetworking
0 likes · 10 min read
Differences and Principles of TCP and UDP Protocols
IT Services Circle
IT Services Circle
Mar 12, 2022 · Fundamentals

Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming

This article provides an in‑depth tutorial on TCP, covering its header structure, three‑way handshake, reasons for three handshakes, four‑way termination, TIME_WAIT, SYN attacks, Linux kernel parameters, and practical socket programming examples, all illustrated with diagrams and code snippets.

Connection ManagementHandshakeNetworking
0 likes · 43 min read
Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming
NiuNiu MaTe
NiuNiu MaTe
Jan 8, 2022 · Fundamentals

Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained

This article explores TCP’s connection termination process, detailing the classic four‑way handshake, scenarios that reduce it to three or two handshakes, the concept of self‑connections, simultaneous opens, and practical implications for developers, including code examples and troubleshooting tips.

Connection terminationHandshakeSocket
0 likes · 23 min read
Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained
JavaEdge
JavaEdge
Dec 5, 2021 · Fundamentals

Understanding TCP: OSI Layers, Header Fields, Handshakes and Common Issues

This article explains TCP fundamentals, covering its role in the OSI model, header structure, three‑way handshake, four‑way termination, typical connection problems, and how various TCP states transition, providing a solid foundation for both client and server developers.

Connection ManagementHandshakeTCP
0 likes · 22 min read
Understanding TCP: OSI Layers, Header Fields, Handshakes and Common Issues
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 31, 2021 · Fundamentals

Essential TCP Networking Concepts: OSI Model, Header Fields, Handshake, Flow Control and Related Protocols

This article provides a comprehensive overview of TCP networking fundamentals, covering the OSI seven‑layer model, TCP header fields, the three‑way handshake and four‑way termination, connection limits, packet fragmentation and reassembly, flow‑control mechanisms, HTTP/HTTPS differences, encryption methods and useful analysis tools.

Flow ControlHTTPHandshake
0 likes · 14 min read
Essential TCP Networking Concepts: OSI Model, Header Fields, Handshake, Flow Control and Related Protocols
Python Programming Learning Circle
Python Programming Learning Circle
Jun 2, 2021 · Blockchain

Sci-Hub Migrates to Handshake: Using Decentralized DNS for Uncensored Access

After repeated domain takedowns, Sci-Hub's founder registered a new site on the Handshake decentralized DNS network, allowing users worldwide to reach the database via NextDNS and HNS gateways, while the article explains Handshake's operation, market growth, and its broader implications for Web 3.0 censorship resistance.

BlockchainCensorship ResistanceDecentralized DNS
0 likes · 5 min read
Sci-Hub Migrates to Handshake: Using Decentralized DNS for Uncensored Access
Liangxu Linux
Liangxu Linux
May 16, 2021 · Fundamentals

Mastering TCP: Handshakes, Teardowns, and State Machines Explained

This article provides a comprehensive guide to TCP’s core mechanisms, covering connection establishment via the three‑way handshake, graceful termination with the four‑step teardown, half‑open and half‑close scenarios, simultaneous open/close, initial sequence numbers, and detailed state‑transition diagrams, all illustrated with diagrams.

HandshakeNetworkingTCP
0 likes · 18 min read
Mastering TCP: Handshakes, Teardowns, and State Machines Explained
Code Ape Tech Column
Code Ape Tech Column
Jan 25, 2021 · Fundamentals

Mastering TCP: Handshake, Flow Control, Congestion Control and More

This comprehensive guide explains TCP fundamentals—including the differences between TCP and UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, Fast Open, timestamps, retransmission timeout calculation, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear examples and diagrams for each concept.

Flow ControlHandshakeNetworking
0 likes · 29 min read
Mastering TCP: Handshake, Flow Control, Congestion Control and More
Liangxu Linux
Liangxu Linux
Jan 17, 2021 · Fundamentals

Understanding TCP: Handshakes, Flow & Congestion Control Explained

This article provides a comprehensive overview of TCP fundamentals, comparing it with UDP, detailing the three‑way handshake and four‑way termination, explaining SYN flood attacks, describing the TCP header fields, fast open, timestamps, retransmission timeout calculations, flow and congestion control mechanisms, as well as Nagle's algorithm, delayed ACKs, and keep‑alive behavior.

Flow ControlHandshakeTCP
0 likes · 29 min read
Understanding TCP: Handshakes, Flow & Congestion Control Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 17, 2021 · Fundamentals

Mastering TCP: Handshakes, Packet Structure, and Real‑World Wireshark Analysis

This article provides a comprehensive guide to TCP, covering its definition, connection-oriented nature, reliability, byte‑stream model, detailed packet header fields, three‑way handshake, four‑way termination, MTU/MSS concepts, Python simulation scripts, Wireshark capture techniques, common pitfalls, and practical networking programming steps.

HandshakeMSSMTU
0 likes · 29 min read
Mastering TCP: Handshakes, Packet Structure, and Real‑World Wireshark Analysis
Open Source Linux
Open Source Linux
Dec 29, 2020 · Fundamentals

Mastering TCP: Handshakes, Flow & Congestion Control, Fast Open and More

This comprehensive guide explains TCP vs UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, timestamps, Fast Open, retransmission timeout calculations, flow control, congestion control, Nagle’s algorithm, delayed ACKs and keep‑alive mechanisms, providing essential knowledge for networking interviews and system design.

Flow ControlHandshakeSecurity
0 likes · 35 min read
Mastering TCP: Handshakes, Flow & Congestion Control, Fast Open and More
System Architect Go
System Architect Go
Dec 20, 2020 · Databases

Understanding the MySQL Client/Server Protocol: Connection and Replication

This article explains the MySQL client‑server communication protocol, detailing the connection phase—including handshake, authentication, and packet structure—as well as the replication process, covering registration as a slave, binlog streaming, and the various binlog event types and their formats.

BinlogClient-Server ProtocolHandshake
0 likes · 12 min read
Understanding the MySQL Client/Server Protocol: Connection and Replication
Programmer DD
Programmer DD
Dec 12, 2020 · Fundamentals

Master the TCP/IP Stack: 10 Essential Interview Questions Explained

This comprehensive guide walks you through the TCP/IP protocol suite—covering the four‑layer model, key protocols like IP, ARP, ICMP, DNS, the mechanics of ping and traceroute, TCP/UDP differences, connection establishment and termination, flow control, and congestion control—providing the core knowledge needed for networking interviews and solidifying fundamental networking concepts.

Flow ControlHandshakeNetworking
0 likes · 22 min read
Master the TCP/IP Stack: 10 Essential Interview Questions Explained
ITPUB
ITPUB
Nov 23, 2020 · Fundamentals

Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained

This article explains the TCP three‑way handshake and four‑way termination processes, clarifies the TIME_WAIT state, shows how to inspect socket states with netstat, and provides practical Linux sysctl settings to reduce excessive TIME_WAIT sockets and improve network performance.

HandshakeLinuxNetworking
0 likes · 7 min read
Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained
Programmer DD
Programmer DD
Aug 5, 2020 · Fundamentals

Mastering TCP: Handshakes, Flow Control, Congestion Management and More

This comprehensive guide explains TCP fundamentals—including its differences from UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN flood attacks, header fields, Fast Open, timestamps, retransmission timers, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear diagrams and practical insights for developers.

Flow ControlHandshakeNetworking
0 likes · 28 min read
Mastering TCP: Handshakes, Flow Control, Congestion Management and More
Selected Java Interview Questions
Selected Java Interview Questions
Jun 20, 2020 · Fundamentals

Comprehensive Guide to TCP: Differences with UDP, Handshakes, Termination, SYN Flood, Fast Open, Timestamps, RTO, Flow & Congestion Control, Nagle, Delayed ACK and Keep‑Alive

This article provides an in‑depth overview of TCP, explaining its core differences from UDP, the three‑way handshake and four‑way termination processes, half‑open queues and SYN‑Flood attacks, Fast Open, timestamp usage, retransmission timeout calculation, flow and congestion control mechanisms, as well as Nagle’s algorithm, delayed acknowledgments and TCP keep‑alive.

HandshakeNetworkingSecurity
0 likes · 28 min read
Comprehensive Guide to TCP: Differences with UDP, Handshakes, Termination, SYN Flood, Fast Open, Timestamps, RTO, Flow & Congestion Control, Nagle, Delayed ACK and Keep‑Alive
Efficient Ops
Efficient Ops
Jun 2, 2020 · Fundamentals

Demystifying the TCP/IP Model: From Layers to Handshakes

This comprehensive guide explains the TCP/IP protocol suite, detailing each layer from the physical link to the application, and covers essential protocols such as IP, ARP, ICMP, DNS, as well as connection management techniques like three‑way handshake, four‑way termination, flow control, and congestion control mechanisms.

HandshakeNetwork ProtocolsTCP/IP
0 likes · 23 min read
Demystifying the TCP/IP Model: From Layers to Handshakes
Liangxu Linux
Liangxu Linux
May 24, 2020 · Fundamentals

Demystifying Network Protocol Layers and the TCP 3‑Way Handshake

This article explains the fundamentals of computer network architecture, the purpose and benefits of protocol layering, compares the OSI and TCP/IP models, details each TCP/IP layer and its common protocols, and walks through the TCP three‑way handshake and four‑way termination process.

HandshakeOSI modelTCP/IP
0 likes · 17 min read
Demystifying Network Protocol Layers and the TCP 3‑Way Handshake
Efficient Ops
Efficient Ops
Dec 8, 2019 · Fundamentals

Mastering TCP: Understanding States, Handshakes, and Common Issues

This article explains TCP state definitions, Linux commands for monitoring connections, the three‑way handshake, four‑way termination, common pitfalls like SYN‑Flood attacks, and practical tips such as keepalive configuration to diagnose and resolve network or socket problems.

HandshakeKeepaliveLinux
0 likes · 30 min read
Mastering TCP: Understanding States, Handshakes, and Common Issues
NetEase Game Operations Platform
NetEase Game Operations Platform
Jun 1, 2019 · Cloud Native

Analyzing the Openflowplugin Handshake Process in Opendaylight

This article provides a detailed walkthrough of the Openflowplugin handshake in Opendaylight, explaining how the TCP server is started, how channels are initialized, how listeners are registered, how the hello exchange and version negotiation are performed, and how the controller finalizes the handshake by requesting features and sending a barrier message to the switch.

HandshakeJavaNetty
0 likes · 10 min read
Analyzing the Openflowplugin Handshake Process in Opendaylight
Efficient Ops
Efficient Ops
Jul 24, 2018 · Fundamentals

A Visual Guide to TCP’s Three‑Way Handshake and Four‑Way Teardown

This article uses animated analogies to demystify TCP’s three‑way handshake, data transmission nuances, and four‑way connection termination, explaining states like SYN_SENT, SYN_RCVD, ESTABLISHED, and TIME_WAIT, while also covering retransmission, flow control, and packet ordering in an easy‑to‑understand visual format.

HandshakeTCPconnection
0 likes · 8 min read
A Visual Guide to TCP’s Three‑Way Handshake and Four‑Way Teardown
Java Backend Technology
Java Backend Technology
Jun 27, 2018 · Fundamentals

Unveiling TCP’s Three‑Way Handshake and Four‑Way Teardown with Simple Animations

This article uses simple animations and analogies to demystify TCP’s three‑way handshake, data transmission nuances, and the four‑way connection termination, explaining key states like SYN_SENT, SYN_RCVD, and TIME_WAIT while also covering retransmission, duplicate‑ack handling, and window sizing.

Connection terminationHandshakeNetworking
0 likes · 9 min read
Unveiling TCP’s Three‑Way Handshake and Four‑Way Teardown with Simple Animations
21CTO
21CTO
Jan 8, 2018 · Backend Development

Mastering WebSocket: Handshake, Data Frames & Node.js Examples

This article provides a comprehensive guide to WebSocket, covering its purpose, connection establishment, handshake process, data frame structure, masking algorithm, security considerations, and includes practical Node.js server and client code examples to illustrate real‑time bidirectional communication.

HandshakeNode.jsWebSocket
0 likes · 22 min read
Mastering WebSocket: Handshake, Data Frames & Node.js Examples
WeChat Backend Team
WeChat Backend Team
Dec 9, 2016 · Information Security

Understanding TLS Handshake: Protocol Flow, Algorithms, and Security

This article explains the TLS handshake protocol in depth, covering its overall flow, the generation of security parameters, the role of asymmetric algorithms, message structures, performance considerations, and mechanisms like session caching and abbreviated handshakes to ensure secure communication.

HandshakeTLSTLS1.2
0 likes · 22 min read
Understanding TLS Handshake: Protocol Flow, Algorithms, and Security
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.

Connection terminationHandshakeLinux
0 likes · 15 min read
Understanding the TCP State Machine: Handshake, Four‑Way Termination, and Practical Experiments
MaGe Linux Operations
MaGe Linux Operations
Apr 21, 2016 · Information Security

Understanding SSL/TLS: From Handshake Basics to Secret Keys Explained

This article provides a comprehensive overview of SSL/TLS, covering its architecture, differences between SSL and TLS, detailed handshake steps, key exchange processes, secret generation, security considerations, proxy handling, and references, aiming to clarify the complex concepts for readers.

HandshakeSSLSecurity
0 likes · 22 min read
Understanding SSL/TLS: From Handshake Basics to Secret Keys Explained
MaGe Linux Operations
MaGe Linux Operations
Aug 19, 2015 · Information Security

Demystifying SSL/TLS: A Complete Guide to Handshake, Keys, and Security

This article provides a thorough, easy-to-understand overview of SSL/TLS, covering its architecture, differences between SSL and TLS, the handshake process, key derivation (PreMaster, Master, Session secrets), data encryption, security improvements, and practical considerations such as proxy handling and common attacks.

HandshakeSSLTLS
0 likes · 21 min read
Demystifying SSL/TLS: A Complete Guide to Handshake, Keys, and Security
Baidu Tech Salon
Baidu Tech Salon
Jul 8, 2014 · Information Security

Understanding TCP RST Attacks: From Handshakes to Exploiting Sequence Numbers

This article explains TCP fundamentals—including three‑way handshakes, sliding windows, and four‑way termination—then details how the RST flag works and how attackers can forge packets using source ports and sequence numbers to execute powerful RST denial‑of‑service attacks.

HandshakeRST attackSliding Window
0 likes · 9 min read
Understanding TCP RST Attacks: From Handshakes to Exploiting Sequence Numbers