Tagged articles
9 articles
Page 1 of 1
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
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
Architect
Architect
Mar 2, 2023 · Fundamentals

Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit

The article explains how TCP connections are identified by a four‑tuple, why the theoretical maximum client connections are 65,535 due to port limits, how servers can theoretically handle up to 2⁴⁸ connections, and why real‑world concurrency is constrained by memory, file descriptors and port reuse rather than the 65535 port count.

LinuxNetworkingPort Numbers
0 likes · 12 min read
Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit
Architect's Guide
Architect's Guide
Dec 25, 2022 · Fundamentals

Understanding TCP Connection Limits and the Role of Port Numbers

The article explains how TCP connections are identified by a four‑tuple, clarifies the theoretical maximum of 65,535 client ports versus the far larger possible server connections, and discusses practical limits imposed by memory, file descriptors, and system configuration on Linux servers.

LinuxNetworkingPort Numbers
0 likes · 10 min read
Understanding TCP Connection Limits and the Role of Port Numbers
Liangxu Linux
Liangxu Linux
Dec 3, 2020 · Fundamentals

Mastering the Transport Layer: TCP, UDP, Sockets, and Port Mechanics

This article explains the role of the transport layer in the OSI model, compares TCP and UDP protocols, describes socket types and their APIs, clarifies port number usage, and details multiplexing, demultiplexing, and UDP packet structure with checksum calculation.

MultiplexingNetwork ProtocolsPort Numbers
0 likes · 20 min read
Mastering the Transport Layer: TCP, UDP, Sockets, and Port Mechanics