Tagged articles
184 articles
Page 1 of 2
Architect's Guide
Architect's Guide
May 12, 2026 · Fundamentals

Mastering TCP, HTTP, Sockets, and Socket Connection Pools

This article walks developers through the OSI model, explains TCP's three‑way handshake and four‑way termination, contrasts TCP with UDP, addresses common networking questions, and details how to implement long‑lived socket connections and a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 15 min read
Mastering TCP, HTTP, Sockets, and Socket Connection Pools
dbaplus Community
dbaplus Community
Apr 22, 2026 · Fundamentals

Is UDP Really Faster Than TCP? A Deep Dive into Their Speed Trade‑offs

This article analytically compares UDP and TCP, detailing UDP’s minimalist design, low‑latency advantages, lack of congestion control and broadcast capabilities, while also explaining TCP’s reliability, congestion‑aware throughput and suitability for large or critical data, helping readers choose the optimal protocol for specific scenarios.

LatencyNetwork ProtocolsTCP
0 likes · 12 min read
Is UDP Really Faster Than TCP? A Deep Dive into Their Speed Trade‑offs
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2026 · Operations

How to Diagnose and Fix Port Connectivity Issues on Linux Servers

This guide walks you through the root causes of "port unreachable" problems, explains TCP and UDP handshakes, and provides a seven‑layer troubleshooting framework with concrete commands, scripts, case studies, best‑practice recommendations, and monitoring setups for Linux environments.

SELinuxTCPUDP
0 likes · 37 min read
How to Diagnose and Fix Port Connectivity Issues on Linux Servers
Java Architect Handbook
Java Architect Handbook
Mar 25, 2026 · Fundamentals

TCP vs UDP: Deep Dive for Java Interview Success

This guide breaks down the core differences between TCP and UDP—including connection handling, reliability, header overhead, transmission mode, and real‑world use cases—while providing interview focus points, concise answer tables, detailed analysis, common follow‑up questions, and handy mnemonics for Java developers.

Java interviewNetworkingProtocol comparison
0 likes · 14 min read
TCP vs UDP: Deep Dive for Java Interview Success
Deepin Linux
Deepin Linux
Mar 8, 2026 · Operations

How to Supercharge Linux UDP Receive Performance: Kernel Tweaks and Code Optimizations

This article dissects the Linux kernel's UDP receive path, identifies key bottlenecks such as small socket buffers, system‑call overhead, interrupt storms, and application‑level processing limits, and then presents concrete kernel parameter tweaks, memory‑pool designs, multithreaded I/O, and SO_REUSEPORT techniques with full C code examples to dramatically boost throughput and reduce packet loss.

KernelLinuxNetworking
0 likes · 34 min read
How to Supercharge Linux UDP Receive Performance: Kernel Tweaks and Code Optimizations
Architect's Guide
Architect's Guide
Feb 14, 2026 · Backend Development

Master TCP/UDP, Socket Long Connections, and Build a Node.js Socket Pool

This tutorial walks through the OSI model, explains TCP three‑way handshake and four‑way termination, compares TCP and UDP, addresses common TCP tuning questions, describes long versus short socket connections with heartbeats, and shows how to design a custom protocol and implement a reusable Socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 15 min read
Master TCP/UDP, Socket Long Connections, and Build a Node.js Socket Pool
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
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 18, 2026 · Fundamentals

A Visual Guide to TCP, UDP, Flow Control, and Congestion Control

This article explains TCP and UDP fundamentals, detailing TCP header fields, flow‑control and congestion‑control mechanisms, the three‑way handshake and four‑way termination, UDP’s connectionless nature, and a side‑by‑side comparison of the two protocols.

Flow ControlNetwork ProtocolsNetworking Fundamentals
0 likes · 11 min read
A Visual Guide to TCP, UDP, Flow Control, and Congestion Control
Tech Musings
Tech Musings
Dec 21, 2025 · Fundamentals

How to Overcome NAT Barriers: VPS Relays and Nginx UDP Proxy Explained

This article examines practical ways to bypass NAT restrictions for UDP communication, covering direct P2P for friendly NATs, UDP hole punching for symmetric NATs, reliable VPS relays for any NAT, and Nginx’s UDP proxy, complete with configuration examples, workflow diagrams, and a comparison to traditional NAT behavior.

NATNGINXNetworking
0 likes · 8 min read
How to Overcome NAT Barriers: VPS Relays and Nginx UDP Proxy Explained
Tech Musings
Tech Musings
Dec 18, 2025 · Fundamentals

Why UDP Struggles Behind NAT: Understanding Symmetric vs. Full Cone

This article explains how UDP’s simplicity is challenged by various NAT types, compares Symmetric and Full Cone NAT behaviors, shows Go code for multi‑server UDP communication, and outlines P2P hole‑punching techniques and real‑world NAT diversity.

Full Cone NATNATP2P
0 likes · 10 min read
Why UDP Struggles Behind NAT: Understanding Symmetric vs. Full Cone
Deepin Linux
Deepin Linux
Nov 5, 2025 · Fundamentals

Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications

This comprehensive guide explains how TCP/IP functions as the Internet's traffic rules, details each protocol in the suite, explores the four‑layer model, showcases practical C++ socket examples, and provides troubleshooting tips for real‑world networking scenarios.

CNetwork ProtocolsTCP
0 likes · 45 min read
Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications
Raymond Ops
Raymond Ops
Oct 9, 2025 · Fundamentals

What Is a Computer Network? From OSI Layers to TCP/UDP and DNS Explained

This article introduces computer networks by defining them, describing their hardware and software components, functions, classification by scope and topology, then explains the OSI seven‑layer model, the differences between TCP and UDP protocols, DNS operation, and the step‑by‑step process a user follows to access a website.

Computer NetworksDNSOSI model
0 likes · 26 min read
What Is a Computer Network? From OSI Layers to TCP/UDP and DNS Explained
IT Services Circle
IT Services Circle
Sep 30, 2025 · Fundamentals

Why Port 0 Exists: Hidden Uses, Risks, and How to Handle It

Port 0 is a legal but reserved value that can be used by operating systems to assign temporary ports, yet it also appears in abnormal traffic, so understanding its semantics, proper usage in code, and how firewalls and security tools treat it is essential for developers and operators.

NetworkingSocketTCP
0 likes · 8 min read
Why Port 0 Exists: Hidden Uses, Risks, and How to Handle It
Code Wrench
Code Wrench
Sep 24, 2025 · Backend Development

Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS

This guide walks Go developers through the OSI and TCP/IP layering models, explains key transport and application protocols such as TCP, UDP, HTTP/1.1, HTTP/2, HTTP/3, RPC, WebSocket, and TLS, and provides practical Go code snippets and deployment tips for building performant, secure, and real‑time services.

GoHTTPNetwork Protocols
0 likes · 7 min read
Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS
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
Architect's Guide
Architect's Guide
Sep 6, 2025 · Fundamentals

Mastering TCP/UDP, HTTP, and Socket Connection Pools: A Complete Guide

This article walks developers through the OSI model, explains TCP three‑way handshake and four‑way termination, compares TCP and UDP, discusses socket long connections, heartbeat mechanisms, custom application‑layer protocols, and implements a Node.js socket connection pool for high‑concurrency scenarios.

Connection PoolNetwork ProtocolsOSI model
0 likes · 17 min read
Mastering TCP/UDP, HTTP, and Socket Connection Pools: A Complete Guide
Efficient Ops
Efficient Ops
Aug 31, 2025 · Fundamentals

Master Computer Network Fundamentals: TCP/UDP, HTTP, Socket & More

This comprehensive guide walks readers through the fundamentals of computer networking, covering architecture models, TCP and UDP protocols, HTTP basics, socket programming, IP addressing, ICMP, Ping, and related concepts such as routers, cookies, and token authentication, all illustrated with clear diagrams.

Computer NetworksHTTPICMP
0 likes · 9 min read
Master Computer Network Fundamentals: TCP/UDP, HTTP, Socket & More
JD Tech Talk
JD Tech Talk
Aug 29, 2025 · Fundamentals

Why KCP Beats TCP and UDP for Real‑Time Apps: Low Latency, High Throughput

This article explains the limitations of TCP and UDP for real‑time applications, introduces the KCP protocol as a UDP‑based solution that combines reliability with low latency, outlines its features, working principles, code usage, and real‑world deployment examples in gaming, video conferencing, live streaming, and IoT.

KCPLow latencyUDP
0 likes · 8 min read
Why KCP Beats TCP and UDP for Real‑Time Apps: Low Latency, High Throughput
Liangxu Linux
Liangxu Linux
Jul 24, 2025 · Fundamentals

Inside Linux: How UDP Packets Travel From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle for UDP, detailing how a packet moves from the physical NIC into kernel memory, is processed by drivers, soft‑irqs, the IP and transport layers, and finally traverses the send path back to the NIC, including key functions, queues, and configuration points.

KernelNetworkingUDP
0 likes · 15 min read
Inside Linux: How UDP Packets Travel From NIC to Kernel and Back
Open Source Linux
Open Source Linux
Jul 10, 2025 · Fundamentals

How Linux Handles Network Packets: From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle, detailing how a UDP packet is received from a physical NIC, processed through driver interrupts, soft‑interrupts, the kernel network stack, and finally transmitted back out, covering key functions, queues, and netfilter hooks.

KernelLinuxNetworking
0 likes · 15 min read
How Linux Handles Network Packets: From NIC to Kernel and Back
Liangxu Linux
Liangxu Linux
Jul 7, 2025 · Fundamentals

How Linux Handles Network Packets: From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle—how a NIC receives a UDP packet, how the kernel processes it through interrupts, soft‑irqs, and the networking stack, and finally how the same mechanisms assemble and transmit packets back to the wire.

KernelNetworkingTCP/IP
0 likes · 16 min read
How Linux Handles Network Packets: From NIC to Kernel and Back
Deepin Linux
Deepin Linux
Jun 28, 2025 · Fundamentals

Why Does TCP/UDP Lose Packets? Deep Dive into Causes and Fixes

This article explores the root causes of packet loss in TCP and UDP—including application bugs, kernel buffer limits, network congestion, protocol limitations, and handshake failures—and presents practical solutions such as code optimization, socket tuning, congestion‑control adjustments, and forward error correction techniques.

Packet LossTCPUDP
0 likes · 25 min read
Why Does TCP/UDP Lose Packets? Deep Dive into Causes and Fixes
Liangxu Linux
Liangxu Linux
Jun 22, 2025 · Operations

How Linux Receives and Sends Network Packets: A Step‑by‑Step Deep Dive

This article walks through the complete Linux network packet lifecycle—from NIC interrupt handling and DMA transfer, through kernel soft‑irq processing, netfilter hooks, and protocol‑stack handling, to the reverse path for sending UDP packets, illustrating each function and queue involved.

UDPdevice driver
0 likes · 13 min read
How Linux Receives and Sends Network Packets: A Step‑by‑Step Deep Dive
Liangxu Linux
Liangxu Linux
May 14, 2025 · Fundamentals

Can TCP and UDP Share the Same Port? A Deep Dive into Port Mechanics

This article breaks down the interview question "Can TCP and UDP use the same port?" by examining protocol-level port spaces, client‑side TCP and UDP port sharing rules, server‑side TCP reuse with SO_REUSEADDR, and UDP reuse with SO_REUSEPORT, complete with code examples and practical implications.

Network programmingPort SharingSO_REUSEADDR
0 likes · 17 min read
Can TCP and UDP Share the Same Port? A Deep Dive into Port Mechanics
Liangxu Linux
Liangxu Linux
May 12, 2025 · Operations

How NodePass Simplifies Secure Network Tunneling Across Firewalls

NodePass is an open‑source Go‑based network tunnel tool that lets developers and ops quickly create encrypted TCP/UDP bridges through firewalls and NAT, offering server/client modes, flexible encryption, zero‑config deployment, Docker images, and detailed logging for reliable remote access.

DevOpsDockerNodePass
0 likes · 10 min read
How NodePass Simplifies Secure Network Tunneling Across Firewalls
Liangxu Linux
Liangxu Linux
May 5, 2025 · Fundamentals

Why UDP Is the Speedy Rogue and TCP the Polite Gentleman

This article uses vivid analogies to compare UDP’s fast, connection‑less, unordered packet delivery with TCP’s reliable, connection‑oriented handshake, flow control, and ordered transmission, outlining each protocol’s characteristics, advantages, drawbacks, and typical real‑time applications such as live streaming, gaming, and video calls.

InternetNetworkingProtocols
0 likes · 10 min read
Why UDP Is the Speedy Rogue and TCP the Polite Gentleman
Liangxu Linux
Liangxu Linux
May 5, 2025 · Operations

How to Test UDP Ports on Windows 10 Using Netcat and PowerShell

This guide shows three practical ways to verify UDP port connectivity on Windows 10: installing and using Netcat (nc), writing a simple PowerShell script, and leveraging the ping command for basic reachability checks, along with installation tips and important caveats.

PowerShellUDPWindows
0 likes · 4 min read
How to Test UDP Ports on Windows 10 Using Netcat and PowerShell
php Courses
php Courses
Apr 24, 2025 · Backend Development

Introduction to Socket Programming in Python: TCP and UDP Examples

This article explains the fundamentals of socket programming in Python, covering basic concepts such as IP addresses, ports, and protocols, and provides complete TCP and UDP server/client code examples along with common troubleshooting tips and advanced modules for building robust network applications.

PythonTCPUDP
0 likes · 7 min read
Introduction to Socket Programming in Python: TCP and UDP Examples
ITPUB
ITPUB
Mar 24, 2025 · Fundamentals

Can TCP and UDP Share the Same Port? Deep Dive into OS Port Management

This article explains why TCP and UDP can use the same numeric port, how client and server processes manage port sharing, and the role of socket options like SO_REUSEADDR and SO_REUSEPORT in enabling high‑availability and load‑balanced networking.

Port SharingTCPUDP
0 likes · 16 min read
Can TCP and UDP Share the Same Port? Deep Dive into OS Port Management
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2025 · Fundamentals

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

This article contrasts the fast, connection‑less nature of UDP with the reliable, connection‑oriented TCP, outlines their key characteristics and handshake processes, and then introduces a comprehensive 570‑command Linux cheat‑sheet for administrators and developers.

NetworkingProtocolsTCP
0 likes · 12 min read
Why UDP Is the Wild West of Networking and How TCP Tames It
Deepin Linux
Deepin Linux
Mar 1, 2025 · Backend Development

Comprehensive Guide to C++ Network Programming Interview Questions

This article provides an extensive overview of C++ network programming concepts frequently asked in interviews, covering sockets, TCP/UDP differences, I/O multiplexing models, handshake mechanisms, packet framing issues, concurrency strategies, code examples for servers and clients, and performance optimization techniques.

C++Network programmingSockets
0 likes · 85 min read
Comprehensive Guide to C++ Network Programming Interview Questions
Raymond Ops
Raymond Ops
Feb 25, 2025 · Fundamentals

Understanding the OSI Model: A Layer‑by‑Layer Guide

This article provides a comprehensive overview of the OSI model, explaining the purpose of each of its seven layers, their responsibilities, typical devices and protocols involved, and how data moves from the physical medium up to the application level.

LayersNetworkingOSI model
0 likes · 17 min read
Understanding the OSI Model: A Layer‑by‑Layer Guide
BirdNest Tech Talk
BirdNest Tech Talk
Jan 6, 2025 · Backend Development

Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained

This comprehensive guide walks through Go’s net package, detailing how Listener functions create servers, how Dial functions initiate client connections, the nuances of network and address formats, and the behavior of various Conn types such as TCPConn, UDPConn, IPConn, and RawConn, complete with code examples and best‑practice tips.

GoNetwork programmingTCP
0 likes · 32 min read
Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained
Deepin Linux
Deepin Linux
Dec 18, 2024 · Backend Development

Understanding Linux Kernel Sockets: Concepts, Types, and API Functions

This article provides a comprehensive overview of Linux socket programming, covering socket definitions, classifications such as stream, datagram, and raw sockets, connection-oriented versus connectionless communication, IP/port/MAC addressing, byte order considerations, and practical C API examples for creating and using sockets.

CLinuxSocket
0 likes · 35 min read
Understanding Linux Kernel Sockets: Concepts, Types, and API Functions
Practical DevOps Architecture
Practical DevOps Architecture
Nov 18, 2024 · Fundamentals

Second Season: Detailed TCP/IP Protocol Stack Course Outline

This article presents a comprehensive outline of a TCP/IP protocol stack course, covering Wireshark analysis basics, TCP/IP overview, Ethernet, ARP (including proxy, gratuitous, inverse, and reverse ARP), ICMP (ping, traceroute, various unreachable messages), UDP, DHCP (address request, renewal, release, conflict, relay), and related experimental validations.

ARPDHCPICMP
0 likes · 3 min read
Second Season: Detailed TCP/IP Protocol Stack Course Outline
BirdNest Tech Talk
BirdNest Tech Talk
Sep 9, 2024 · Backend Development

Unlock Advanced Network Diagnostics in Go with Mule: UDP & ICMP Made Easy

Mule is a Go library that lets developers craft custom UDP packets, capture ICMP unreachable responses, and perform low‑level network diagnostics such as port scanning, topology mapping, and security testing, offering fine‑grained control through raw socket operations and a net.Conn‑compatible API.

GoICMPLibrary
0 likes · 7 min read
Unlock Advanced Network Diagnostics in Go with Mule: UDP & ICMP Made Easy
Liangxu Linux
Liangxu Linux
Sep 7, 2024 · Operations

How to Use iPerf for Accurate Server-to-Server Bandwidth Testing

This guide explains how to prepare source and target servers, install iPerf, run it in server and client modes on Windows (or Linux), and use specific commands to measure TCP bandwidth, UDP jitter, packet loss, and network latency, including required firewall and security‑group settings.

LinuxTCPUDP
0 likes · 4 min read
How to Use iPerf for Accurate Server-to-Server Bandwidth Testing
Liangxu Linux
Liangxu Linux
Aug 14, 2024 · Operations

How to Use iPerf for Accurate Network Bandwidth and Latency Testing

This guide walks you through preparing the environment, installing iPerf on Windows or Linux servers, running it in server and client modes, testing TCP and UDP performance, measuring latency with ping, and checking all available options to ensure reliable network bandwidth and latency measurements.

LatencyLinuxTCP
0 likes · 5 min read
How to Use iPerf for Accurate Network Bandwidth and Latency Testing
Liangxu Linux
Liangxu Linux
Jul 17, 2024 · Operations

How to Detect Open UDP Ports with hping3 and netcat on Linux

This guide shows how to set up a Ubuntu server and a CentOS client, install hping3 and netcat, and use them to reliably detect whether specific UDP ports are open or closed, interpreting packet loss, ICMP Port Unreachable, and connection refusal messages.

LinuxUDPhping3
0 likes · 5 min read
How to Detect Open UDP Ports with hping3 and netcat on Linux
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 28, 2024 · Fundamentals

Deep Dive into QUIC Protocol: Architecture, Features, and Optimization Strategies

The article thoroughly examines QUIC—the user‑space, UDP‑based transport underpinning HTTP/3—detailing its architecture, fast 0‑RTT handshakes, connection migration, stream‑level independence, congestion control, and flow‑control mechanisms, while also discussing implementation hurdles like 0‑RTT reliability, load‑balancer routing, UDP restrictions, CPU overhead, and real‑world performance gains reported by major Chinese tech firms.

0-RTT handshakeHTTP/3QUIC protocol
0 likes · 21 min read
Deep Dive into QUIC Protocol: Architecture, Features, and Optimization Strategies
Open Source Linux
Open Source Linux
Jun 17, 2024 · Operations

How to Detect Open UDP Ports with hping3 and netcat (nc)

This guide walks through setting up a Linux server and client, installing hping3 and netcat, and using them to reliably detect whether specific UDP ports are open or closed, including command examples, expected outputs, and troubleshooting tips.

LinuxUDPhping3
0 likes · 5 min read
How to Detect Open UDP Ports with hping3 and netcat (nc)
Radish, Keep Going!
Radish, Keep Going!
Jun 14, 2024 · Fundamentals

Why QUIC Is Replacing TCP: Faster, Safer Internet Transport

This article explains how QUIC, a UDP‑based transport protocol developed by Google, overcomes TCP's limitations such as handshake latency and head‑of‑line blocking, offering lower latency, multiplexing, built‑in TLS 1.3 security, and why it powers the emerging HTTP/3 standard.

HTTP/3Network ProtocolsQUIC
0 likes · 12 min read
Why QUIC Is Replacing TCP: Faster, Safer Internet Transport
MaGe Linux Operations
MaGe Linux Operations
Jun 5, 2024 · Fundamentals

Understanding the OSI Model: A Layer‑by‑Layer Guide

This article provides a comprehensive overview of the OSI model, detailing each of its seven layers—from the physical and data link layers up to the application layer—explaining their functions, protocols, and how they interact to enable network communication.

OSI modelTCPUDP
0 likes · 18 min read
Understanding the OSI Model: A Layer‑by‑Layer Guide
Ops Development & AI Practice
Ops Development & AI Practice
May 30, 2024 · Fundamentals

Mastering UDP in Go: Build Low‑Latency Network Apps with Simple Code

This article explains the characteristics and ideal use cases of UDP, then walks through step‑by‑step Go code for creating UDP connections, sending and receiving datagrams, and a complete client‑server example, helping developers leverage UDP’s low latency and lightweight nature for real‑time communication, streaming, and IoT scenarios.

DatagramGoNetwork programming
0 likes · 10 min read
Mastering UDP in Go: Build Low‑Latency Network Apps with Simple Code
macrozheng
macrozheng
Apr 11, 2024 · Fundamentals

Understanding TCP vs UDP: Differences, Port Numbers, and Practical Uses

This article explains the core characteristics of TCP and UDP, compares their reliability and connection models, clarifies the concept and range of port numbers, and demonstrates that both protocols can share the same port without conflict, illustrated with real‑world examples such as DNS.

Port NumbersTCPUDP
0 likes · 7 min read
Understanding TCP vs UDP: Differences, Port Numbers, and Practical Uses
Open Source Tech Hub
Open Source Tech Hub
Mar 29, 2024 · Backend Development

Building an Asynchronous UDP SIP Server with Workerman in PHP

This guide explains how to use the high‑performance Workerman framework to create a UDP‑based asynchronous SIP server in PHP, covering protocol basics, business requirements, socket handling, multi‑process deployment, heartbeat management, and sample output.

Asynchronous ServerBackend DevelopmentPHP
0 likes · 11 min read
Building an Asynchronous UDP SIP Server with Workerman in PHP
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2024 · Backend Development

Mastering Go Socket Programming: From TCP/UDP to HTTP Clients

This article explains Go’s socket programming model, covering the classic five‑step workflow, the versatile net.Dial function, and practical code examples for ICMP, TCP, and HTTP client operations, helping developers build networked applications efficiently.

Code ExamplesGoHTTP
0 likes · 10 min read
Mastering Go Socket Programming: From TCP/UDP to HTTP Clients
MaGe Linux Operations
MaGe Linux Operations
Jan 16, 2024 · Fundamentals

Unlocking TCP, UDP, IP & More: A Deep Dive into Network Protocols

This article provides a comprehensive overview of core network protocol structures—including TCP, UDP, IPv4/IPv6, IPSec, Ethernet, 802.1Q, 802.11, SSL, RTP, and OpenFlow—detailing their header fields, functions, and security mechanisms to help readers grasp essential networking concepts.

ProtocolsSecurityTCP
0 likes · 15 min read
Unlocking TCP, UDP, IP & More: A Deep Dive into Network Protocols
Architect's Guide
Architect's Guide
Dec 10, 2023 · Fundamentals

Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools

This article explains the OSI seven‑layer model, the mechanics of TCP three‑way handshake and four‑way termination, differences between TCP and UDP, long‑living socket connections, custom protocol design, and how to implement a socket connection pool for high‑concurrency backend services.

BackendConnection PoolNetwork Protocols
0 likes · 14 min read
Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools
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
Deepin Linux
Deepin Linux
Oct 13, 2023 · Fundamentals

Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code

This article explains the fundamentals of sockets as a network communication abstraction, covering process communication, TCP/UDP protocols, socket descriptors, key system calls, the TCP three‑way handshake and four‑way termination, Linux kernel basics, and provides complete C examples for a server and client.

CLinuxSocket
0 likes · 45 min read
Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code
Liangxu Linux
Liangxu Linux
Oct 12, 2023 · Fundamentals

8 Essential Network Protocols Every Developer Should Know

This article provides a concise visual guide to eight popular network protocols—including HTTP, HTTP/3, HTTPS, WebSocket, TCP, UDP, SMTP, and FTP—explaining their core functions, typical use cases, and how they enable reliable data exchange across the Internet.

FTPHTTPNetwork Protocols
0 likes · 4 min read
8 Essential Network Protocols Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Oct 1, 2023 · Fundamentals

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

TCP and UDP are core transport-layer protocols of the Internet; this article explains their basic concepts, characteristics, reliability mechanisms, flow and congestion control, three-way handshake and four-way termination for TCP, and highlights the strengths and weaknesses of each protocol for various applications.

NetworkingReliabilityTCP
0 likes · 8 min read
Understanding TCP vs UDP: Key Differences, Handshakes, and When to Use Each
Open Source Linux
Open Source Linux
Sep 26, 2023 · Fundamentals

Understanding the TCP/IP Model: Layers, Protocols, and Data Flow

This article explains the TCP/IP protocol suite, detailing its four layers—link, network, transport, and application—along with key protocols such as IP, TCP, UDP, ARP, ICMP, DNS, and the mechanisms of packet encapsulation, routing, flow and congestion control, and connection management.

Flow ControlNetwork ProtocolsTCP
0 likes · 23 min read
Understanding the TCP/IP Model: Layers, Protocols, and Data Flow
Architect's Guide
Architect's Guide
Sep 23, 2023 · Backend Development

Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools

This article explains the fundamentals of network protocols—including the OSI model, TCP three‑way handshake and four‑way termination, UDP characteristics, long versus short socket connections, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Backend DevelopmentConnection PoolUDP
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
Wukong Talks Architecture
Wukong Talks Architecture
Aug 31, 2023 · Fundamentals

Understanding DNS: Principles, Resolution Process, and Performance Optimization

This article explains the fundamentals of the Domain Name System (DNS), covering domain and name‑server concepts, the hierarchical resolution process, recursive and iterative queries, performance‑enhancing techniques such as UDP usage, caching, and switching to public DNS servers, and details DNS record types and packet structure.

DNSDomain Name SystemNetworking
0 likes · 14 min read
Understanding DNS: Principles, Resolution Process, and Performance Optimization
Open Source Linux
Open Source Linux
Aug 28, 2023 · Operations

Detecting and Resolving Network Loops with Traffic Analysis

This article explains how a large internal network suffered severe slowdown and packet loss due to a routing loop, how traffic analysis revealed massive UDP2425 usage consuming 99% of bandwidth, and the step‑by‑step method used to identify and eliminate the loop.

OperationsTraffic analysisUDP
0 likes · 7 min read
Detecting and Resolving Network Loops with Traffic Analysis
Liangxu Linux
Liangxu Linux
Aug 1, 2023 · Fundamentals

Understanding TCP vs UDP: Reliable and Unreliable Transport Explained

This article provides a comprehensive overview of the transport layer, explaining how TCP and UDP differ in reliability, connection management, port usage, handshake processes, sequence numbers, acknowledgments, retransmission, window and flow control, as well as congestion handling.

Connection ManagementNetwork ProtocolsPort Numbers
0 likes · 23 min read
Understanding TCP vs UDP: Reliable and Unreliable Transport Explained
Open Source Linux
Open Source Linux
Jul 24, 2023 · Fundamentals

Why TCP Beats UDP: Ports, Handshakes, and Flow Control Explained

This article explains the transport layer’s core protocols—TCP and UDP—detailing their functions, differences, port numbers, connection establishment, reliability mechanisms, flow and congestion control, and how applications use client‑server models to communicate over networks.

Port NumbersReliabilityTCP
0 likes · 21 min read
Why TCP Beats UDP: Ports, Handshakes, and Flow Control Explained
MaGe Linux Operations
MaGe Linux Operations
Jul 22, 2023 · Operations

Why Is Your Network Dropping Packets? A Complete Troubleshooting Guide

This article explains the common causes of network packet loss—from hardware NIC issues and driver problems to kernel stack and TCP/UDP layer faults—provides step‑by‑step diagnostic commands, and offers practical solutions to quickly identify and resolve packet loss in Linux environments.

Packet LossUDPtroubleshooting
0 likes · 36 min read
Why Is Your Network Dropping Packets? A Complete Troubleshooting Guide
Liangxu Linux
Liangxu Linux
Jul 16, 2023 · Fundamentals

Understanding TCP & UDP: Headers, Handshakes, Flow & Congestion Control

This article provides a comprehensive overview of TCP and UDP, covering TCP header fields, flow and congestion control mechanisms, the three‑way handshake and four‑way termination, SYN‑flood attacks, UDP characteristics, and a detailed TCP/UDP feature comparison.

Flow ControlUDPcongestion control
0 likes · 12 min read
Understanding TCP & UDP: Headers, Handshakes, Flow & Congestion Control
Liangxu Linux
Liangxu Linux
Jul 3, 2023 · Fundamentals

What Exactly Is a Socket? From Plug Analogy to Kernel Implementation

This article explains the concept of sockets using a plug analogy, details their usage in TCP/UDP communication, explores the kernel's sock structures and inheritance tricks, and describes how sockets expose network functionality to user‑space programs through file descriptors and queues.

Linux kernelNetwork programmingSocket
0 likes · 17 min read
What Exactly Is a Socket? From Plug Analogy to Kernel Implementation
Liangxu Linux
Liangxu Linux
Jun 9, 2023 · Backend Development

Master TCP/UDP, Socket Long Connections, and a Node.js Socket Pool

This tutorial walks developers through the OSI model, explains TCP three‑way handshake and four‑step teardown, compares TCP and UDP, addresses common TCP questions, and shows how to implement long‑living socket connections and a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 16 min read
Master TCP/UDP, Socket Long Connections, and a Node.js Socket Pool
21CTO
21CTO
Jun 6, 2023 · Backend Development

Mastering TCP/UDP, Sockets, and Connection Pools: From OSI Model to Node.js

This comprehensive guide walks you through the OSI seven‑layer model, explains TCP and UDP fundamentals, details the three‑way handshake and four‑way termination, compares long and short connections, introduces heartbeat packets, and demonstrates how to build a custom protocol and a socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 16 min read
Mastering TCP/UDP, Sockets, and Connection Pools: From OSI Model to Node.js
Open Source Linux
Open Source Linux
Jun 5, 2023 · Operations

Mastering iperf: Install, Configure, and Run TCP/UDP Bandwidth Tests

This guide explains how to install iperf on Windows and Linux, configure it for TCP and UDP bandwidth testing, adjust UDP buffer settings, and interpret the resulting performance metrics, providing practical command examples and visual output for accurate network performance analysis.

LinuxTCPUDP
0 likes · 8 min read
Mastering iperf: Install, Configure, and Run TCP/UDP Bandwidth Tests
Architecture Digest
Architecture Digest
May 29, 2023 · Fundamentals

Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools

This article explains the OSI seven‑layer model, the principles and handshake processes of TCP and UDP, the differences between them, the concept of long‑living socket connections with heartbeats, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 16 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
Architect
Architect
May 25, 2023 · Fundamentals

Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools

This article explains the OSI seven‑layer model, the differences between TCP and UDP, the three‑way handshake and four‑step termination processes, long‑living socket connections, heartbeat mechanisms, custom application‑layer protocols, and how to implement a socket connection pool using Node.js.

Backend DevelopmentConnection PoolNetwork Protocols
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools
Liangxu Linux
Liangxu Linux
May 22, 2023 · Cloud Native

Why Docker’s UDP Traffic Fails on Bridge Networks and How to Fix It

This article explains why UDP packets sent from a Docker bridge network to a host‑bound UDP server become unreachable, analyzes the root cause in Linux’s source‑address selection, and provides practical fixes such as binding to a specific interface or using IP_PKTINFO with recvmsg/sendmsg.

ContainerIP_PKTINFOLinux
0 likes · 15 min read
Why Docker’s UDP Traffic Fails on Bridge Networks and How to Fix It
Open Source Linux
Open Source Linux
May 8, 2023 · Operations

Why UDP Fails in Docker Bridge Networks and How to Fix It

This article explains why a UDP service listening on 0.0.0.0 inside a Docker bridge network becomes unreachable, analyzes packet captures and kernel routing behavior, and provides practical solutions such as using TCP, binding to a specific interface, or enabling IP_PKTINFO on the socket.

ContainerDockerIP_PKTINFO
0 likes · 16 min read
Why UDP Fails in Docker Bridge Networks and How to Fix It
JD Cloud Developers
JD Cloud Developers
Apr 20, 2023 · Operations

How to Build a Cost‑Effective, High‑Throughput Log Collection System with ClickHouse

This article examines the challenges of scaling log storage and retrieval for high‑traffic services, analyzes the cost and performance limits of traditional ELK‑based pipelines, and presents a streamlined, UDP‑driven architecture using ClickHouse that dramatically reduces hardware expenses while handling hundreds of gigabytes per second.

ClickHouseCost OptimizationHigh Throughput
0 likes · 16 min read
How to Build a Cost‑Effective, High‑Throughput Log Collection System with ClickHouse
Liangxu Linux
Liangxu Linux
Apr 2, 2023 · Fundamentals

How NAT and NAPT Translate Private IPs and Enable Intranet Penetration

This article explains why home networks use private 192.168.x.x addresses, how NAT devices translate private IPs to a single public IP, the detailed SNAT/DNAT processes, the role of ports in NAPT, and how these mechanisms enable inbound connections through techniques like NAT hole punching and intranet penetration.

IP translationNAPTNAT
0 likes · 15 min read
How NAT and NAPT Translate Private IPs and Enable Intranet Penetration
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2023 · Fundamentals

Master the TCP/IP Stack: 10 Essential Concepts Every Engineer Must Know

This comprehensive guide walks you through the TCP/IP protocol suite, covering the four-layer model, data link, network, transport, and application layers, and explains key protocols such as IP, ARP, ICMP, TCP, UDP, DNS, as well as connection management, flow control, and congestion control techniques.

ProtocolsTCPTCP/IP
0 likes · 17 min read
Master the TCP/IP Stack: 10 Essential Concepts Every Engineer Must Know
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
MaGe Linux Operations
MaGe Linux Operations
Dec 20, 2022 · Fundamentals

Why UDP Drops Packets and How to Make It Reliable

This article explains UDP packet structure, why UDP lacks a send buffer, how fragmentation and buffer overflows cause packet loss, and presents practical solutions—including socket buffer tuning, delayed sending, retransmission strategies, redundancy, and RUDP—to achieve reliable communication over an inherently unreliable protocol.

Packet LossUDPfragmentation
0 likes · 24 min read
Why UDP Drops Packets and How to Make It Reliable
Open Source Linux
Open Source Linux
Dec 19, 2022 · Fundamentals

Master the TCP/IP Stack: From Layers to Real-World Protocols

This comprehensive guide explains the TCP/IP model’s four layers, key protocols such as IP, ARP, ICMP, DNS, and the differences between TCP and UDP, and details connection setup, termination, flow and congestion control mechanisms like slow start, fast retransmit, and fast recovery.

NetworkingProtocolsTCP
0 likes · 23 min read
Master the TCP/IP Stack: From Layers to Real-World Protocols
Liangxu Linux
Liangxu Linux
Dec 14, 2022 · Fundamentals

Unraveling TCP: From Physical Wires to Reliable Data Streams

This article provides a comprehensive, step‑by‑step explanation of TCP and related transport‑layer concepts, covering the OSI model, physical to application layers, socket and port mechanics, TCP header fields, reliable transmission techniques, flow and congestion control, connection setup/teardown, and a brief comparison with UDP.

TCPUDPcongestion control
0 likes · 28 min read
Unraveling TCP: From Physical Wires to Reliable Data Streams
Su San Talks Tech
Su San Talks Tech
Nov 12, 2022 · Fundamentals

When Is UDP Faster Than TCP? Deep Dive into Socket Protocols

While UDP is often assumed to be faster than TCP, this article explains socket basics, the reliability mechanisms of TCP, scenarios where UDP can be slower, and how application-layer solutions like KCP or QUIC add reliability, helping readers understand when each protocol truly excels.

Network ProtocolsPacket LossReliability
0 likes · 13 min read
When Is UDP Faster Than TCP? Deep Dive into Socket Protocols