Tag

Port Numbers

1 views collected around this technical thread.

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.

NetworkingPort NumbersTCP
0 likes · 7 min read
Understanding TCP vs UDP: Differences, Port Numbers, and Practical Uses
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
Architect's Guide
Architect's Guide
Sep 7, 2022 · Fundamentals

Understanding TCP Connection Limits: Theory, Port Numbers, and Practical Constraints

The article explains how TCP connections are identified by a four‑tuple, why the theoretical maximum of 65,535 client ports does not cap server concurrency, and how real‑world limits are governed by memory, file‑descriptor counts, and port reuse techniques.

Port NumbersServer ScalabilityTCP
0 likes · 11 min read
Understanding TCP Connection Limits: Theory, Port Numbers, and Practical Constraints
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 2, 2020 · Fundamentals

Transport Layer Overview: TCP and UDP Protocols, Sockets, Ports, and Congestion Control

This article provides a comprehensive introduction to the transport layer of computer networks, explaining the roles of TCP and UDP, socket APIs, port numbers, multiplexing, packet structures, connection management, three‑way handshake, four‑way termination, and congestion‑control mechanisms.

NetworkingPort NumbersSockets
0 likes · 49 min read
Transport Layer Overview: TCP and UDP Protocols, Sockets, Ports, and Congestion Control
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 26, 2020 · Fundamentals

Transport Layer Overview: TCP, UDP, Sockets, and Port Numbers

This article provides a comprehensive overview of the transport layer in the TCP/IP model, explaining the roles of TCP and UDP protocols, socket APIs, port numbers, multiplexing, and how data is encapsulated and transmitted between end systems.

NetworkingPort NumbersSockets
0 likes · 21 min read
Transport Layer Overview: TCP, UDP, Sockets, and Port Numbers