Tagged articles
handshake
78 articles · Page 1 of 1
This article dissects the complete TCP socket lifecycle from a kernel perspective, covering socket creation, three-way handshake, connection queues, send/recv buffer behavior, sticky packet solutions, and graceful closure with code examples and troubleshooting commands.
BufferInterviewNetworking
0 likes · 20 min read

This comprehensive guide teaches practical Wireshark and TShark techniques for capturing and analyzing TCP traffic, covering handshake verification, retransmission detection, connection reset diagnosis, window/RTT analysis, capture artifact identification, and multi-point correlation to troubleshoot real-world network issues.
HTTP/2QUICRTT
0 likes · 46 min read

A troubleshooting guide for intermittent TLS handshake failures across carriers, revealing how JDK default version differences cause protocol_version alerts and providing verification steps and fixes using -Dhttps.protocols=TLSv1.1,TLSv1.2 for Java, curl --tlsv1.2 for scripts, and Nginx ssl_protocols adjustments.
JDKJavaOpenSSL
0 likes · 10 min read

This comprehensive guide provides a systematic troubleshooting framework for slow HTTPS handshakes, covering TCP/TLS timing separation, certificate chain validation, OCSP stapling, cipher suite selection, session reuse, and packet capture analysis with practical commands for Nginx and Apache.
HTTPSOCSPTLS
0 likes · 47 min read

The article recounts a real incident where API calls succeeded on some carriers but failed on others due to TLS version mismatch, detailing how to diagnose using curl, OpenSSL, and JDK version checks, and providing fixes for Java apps, scripts, and Nginx to enable multiple TLS versions for compatibility.
JDKOpenSSLSSL
0 likes · 12 min read

This article provides a step‑by‑step visual and textual walkthrough of the TCP/IP protocol family, covering its layered architecture, mapping to the OSI model, the evolution from hubs to switches, MAC and IP addressing, routing, TCP segment fields, the three‑way handshake and four‑way teardown, plus common interview questions and code examples.
IPNetworkingOSI model
0 likes · 24 min read

This article breaks down the TCP three‑way handshake and four‑way close, explains what each state means, and provides a step‑by‑step troubleshooting guide with concrete Linux commands, packet captures, and practical tips for diagnosing timeouts, refusals, retransmissions, and other common connection problems.
LinuxTCPfour-way termination
0 likes · 22 min read

This article provides a detailed, packet‑by‑packet walkthrough of TCP's three‑way handshake and four‑step connection termination, explains the TCP header fields, explores TIME_WAIT issues, compares BBR and Cubic congestion control, and offers practical Wireshark and tcpdump techniques for troubleshooting and interview preparation.
BBRCUBICTCP
0 likes · 37 min read

This article walks through TCP from the physical layer up to congestion control, explaining MAC and IP addressing, sockets and ports, reliable transmission mechanisms like stop‑and‑wait and sliding windows, the three‑way handshake, four‑way teardown, UDP differences, routing, packet fragmentation, and security considerations.
SocketTCPUDP
0 likes · 28 min read

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.
LinuxTCPUDP
0 likes · 26 min read

This article explains the OSI and TCP/IP layered models, details how data is encapsulated with headers at each layer, compares TCP and UDP, and walks through TCP’s three‑way handshake, four‑way termination, sequence numbers, flags, and common security considerations such as SYN flood attacks.
OSI modelTCPdata encapsulation
0 likes · 19 min read

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 ManagementTCPhandshake
0 likes · 11 min read

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.
ConnectionlessTCPUDP
0 likes · 10 min read

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.
NetworkingTCPTeardown
0 likes · 12 min read

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.
HTTPSOpenSSLTLS
0 likes · 16 min read

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.
TCPbacklogconnection states
0 likes · 20 min read

A high‑concurrency data collection service quickly saturated a 100 Mbps uplink because each GET request incurred a 1.27 KB TLS handshake, prompting a switch to plain HTTP and keep‑alive to cut bandwidth usage by 70% and lower server load.
HTTPKeep-AliveTLS
0 likes · 4 min read

A high‑concurrency service quickly maxed out a 100 Mbps uplink because each HTTPS GET request incurred a 1.68 KB payload dominated by a 1.27 KB TLS handshake, prompting a switch to plain HTTP or keep‑alive to dramatically cut bandwidth and CPU usage.
HTTPKeep-AliveTLS
0 likes · 5 min read

A high‑concurrency data‑collection service quickly filled a 100 Mbps uplink because each GET request incurred a 1.68 KB TLS handshake, consuming over 260 Mbps, but switching to plain HTTP or using keep‑alive can dramatically cut bandwidth and server load.
HTTPKeep-AliveTLS
0 likes · 6 min read

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.
HTTPSKeep-AliveTLS
0 likes · 4 min read

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++ exampleTCPcongestion control
0 likes · 39 min read

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 ControlSYN Flood
0 likes · 27 min read

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.
CRCPiDUSB 2.0
0 likes · 21 min read

TLS handshake is the essential process that establishes encrypted communication between a client and server, involving a series of messages such as ClientHello, ServerHello, certificate exchange, key exchange, and verification steps that culminate in a shared secret for secure data transmission.
TLSencryptionhandshake
0 likes · 5 min read

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 ControlUDPcongestion control
0 likes · 8 min read

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.
Networkingcongestion controlhandshake
0 likes · 27 min read

This article explains how the Linux kernel maintains the SYN (half‑connection) and Accept (full‑connection) queues during the TCP three‑way handshake, describes their size limits, overflow handling, and common defenses against SYN‑flood attacks.
LinuxSYN queueTCP
0 likes · 4 min read

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.
Long ConnectionTCPhandshake
0 likes · 10 min read

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 terminationUDPhandshake
0 likes · 18 min read

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.
HTTPSTLSasymmetric encryption
0 likes · 16 min read

This article provides a comprehensive overview of TCP, UDP, and HTTP protocols, explaining their definitions, layered roles, connection establishment and termination processes, segment structures, and key differences in reliability and performance for network communication.
HTTPTCPUDP
0 likes · 14 min read

This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences, the three‑way handshake and four‑way termination processes, data transmission mechanisms, and typical use‑case scenarios for each protocol.
Data TransmissionTCPUDP
0 likes · 7 min read

This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences in reliability and speed, the three‑way handshake and four‑way termination processes of TCP, and how data transmission is handled by both protocols.
Data TransmissionNetworkingTCP
0 likes · 7 min read

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 TransmissionNetworkingTCP
0 likes · 10 min read

This article provides a concise overview of TCP and UDP protocols, explaining their purposes, core differences, the TCP three‑way handshake and four‑way termination processes, data transmission mechanisms, and typical use‑case scenarios for each protocol.
Data TransmissionTCPUDP
0 likes · 8 min read

The article investigates how loss of TCP SYN, SYN‑ACK, or ACK packets during the three‑way handshake affects MySQL client‑server connections, demonstrating retransmission behavior, kernel parameter tuning, and keep‑alive mechanisms through controlled iptables and tcpdump experiments.
Keep-AliveLinuxMySQL
0 likes · 10 min read

This article explains the WebSocket protocol, its full‑duplex persistent connection, key features, why it outperforms HTTP for real‑time scenarios, and provides detailed handshake examples for both client and server implementations.
Real-timeTCPWebSocket
0 likes · 8 min read

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 ManagementNetworkingTCP
0 likes · 43 min read

This article explains TCP's core mechanisms—including acknowledgment (ACK), timeout retransmission, the three‑way handshake for establishing connections, and the four‑way handshake for graceful termination—while illustrating each concept with diagrams and addressing common interview questions.
ACKTCPhandshake
0 likes · 12 min read

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 terminationSocketTCP
0 likes · 23 min read

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 ManagementTCPhandshake
0 likes · 22 min read

SSL/TLS protects internet traffic by encrypting data, verifying integrity, and authenticating parties, and this article outlines its purpose, historical evolution, core operation using public‑key and symmetric keys, and details each step of the handshake process that establishes a secure session.
SSLTLScryptography
0 likes · 10 min read

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 ControlHTTPNetworking
0 likes · 14 min read

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

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.
NetworkingTCPconnection
0 likes · 18 min read

This article explains the complete process from entering a URL to rendering a web page, covering URL parsing, DNS resolution, TCP three‑way handshake and four‑way teardown, HTTP request/response structure, and browser rendering, while also clarifying TIME_WAIT and related socket states.
HTTPNetworkingTCP
0 likes · 14 min read

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 ControlNetworkingRTO
0 likes · 29 min read

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 ControlTCPcongestion control
0 likes · 29 min read

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.
MSSMTUTCP
0 likes · 29 min read

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 ControlSecurityTCP
0 likes · 35 min read

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.
Client-Server ProtocolMySQLbinlog
0 likes · 12 min read

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 ControlNetworkingcongestion control
0 likes · 22 min read


ITPUBNov 23, 2020 · Fundamentals
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.
LinuxNetworkingTCP
0 likes · 7 min read

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 ControlNetworkingTCP
0 likes · 28 min read

This article explains the WebSocket protocol (RFC 6455), covering its HTTP upgrade handshake, binary frame format, message fragmentation, multiplexing and compression extensions, and the required header fields for establishing a secure, bidirectional communication channel between client and server.
Binary FramesNetworkingWebSocket
0 likes · 18 min read

This article details the TCP three‑way handshake, the four‑step connection termination process, and the full set of eleven TCP connection states, illustrating each step with clear explanations and diagrams for better network protocol comprehension.
TCPhandshakeprotocol
0 likes · 7 min read

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.
NetworkingSecurityTCP
0 likes · 28 min read

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.
congestion controlhandshakenetwork protocols
0 likes · 23 min read

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.
Layered ArchitectureOSI modelhandshake
0 likes · 17 min read


ITPUBMay 22, 2020 · Fundamentals
This article explains the fundamentals of computer network architecture, the purpose of layered protocols, compares the OSI and TCP/IP models, details each TCP/IP layer, and clarifies the three‑way handshake and four‑way termination processes with common interview questions.
NetworkingOSI modelProtocol Layers
0 likes · 19 min read

This article explains the origins, definition, basic frame format, masking purpose, and handshake process of the WebSocket protocol, and demonstrates packet capture analysis with a simple demo to illustrate how full‑duplex communication works over a single TCP connection.
WebSocketframe structurehandshake
0 likes · 10 min read

This article explains the TCP/IP protocol suite, its layered architecture, the purpose of layering, the functions of each layer, differences between TCP and UDP, and the detailed processes of TCP's three‑way handshake and four‑way termination.
LayersNetworkingTCP
0 likes · 11 min read

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.
LinuxNetworkingSocket
0 likes · 30 min read

This article explains the OSI model, the TCP/IP protocol suite, and in detail how TCP establishes connections with a three‑way handshake and terminates them with a four‑way handshake, including the reasons behind each step and related security considerations.
OSI modelhandshakenetworking fundamentals
0 likes · 12 min read

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.
JavaNettyOpenDaylight
0 likes · 10 min read

This article explains the SSL/TLS handshake process, the role of private keys, the advantages of switching to Diffie‑Hellman, and how session IDs and tickets enable secure session resumption, illustrating each step with clear diagrams.
SSLTLScryptography
0 likes · 7 min read

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.
TCPconnectionhandshake
0 likes · 8 min read

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 terminationNetworkingTCP
0 likes · 9 min read

This article explains the WebSocket protocol, compares it with traditional Ajax polling, shows client‑side JavaScript and server‑side Python implementations, details the handshake, frame parsing, and message framing, and highlights its suitability for real‑time applications.
BackendJavaScriptWebSocket
0 likes · 11 min read


21CTOJan 8, 2018 · Backend Development
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.
Node.jsWebSocketdata masking
0 likes · 22 min read

The article explains TCP as a connection‑oriented protocol, contrasts it with UDP, details the three‑way handshake and four‑way termination processes using clear steps and analogies, and includes illustrative diagrams to aid comprehension.
NetworkingTCPconnection
0 likes · 4 min read

Learn how TCP’s three-way handshake and four-way termination work in detail, illustrated with Wireshark packet captures, and understand why each step is necessary through clear explanations and real‑world analogies that demystify network connection establishment and closure.
NetworkingTCPTeardown
0 likes · 6 min read

This article explains the TLS handshake process, detailing the Finished message verification, the use of NewSessionTicket for stateless session resumption, and the roles of ChangeCipherSpec, Alert, and Application Data protocols in secure communications.
SessionTicketTLScryptography
0 likes · 11 min read

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.
TLSTLS1.2TLS1.3
0 likes · 22 min read

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 terminationLinuxNetworking
0 likes · 15 min read

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.
SSLSecurityTLS
0 likes · 22 min read

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.
SSLTLSencryption
0 likes · 21 min read

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.
RST attackTCPhandshake
0 likes · 9 min read
