UDP
UDP (User Datagram Protocol) is a lightweight, connectionless transport-layer protocol that sends data packets, called datagrams, without establishing a connection or guaranteeing delivery, ordering, or duplicate protection.
19 resources across 3 libraries
Glossary Terms(4)
TCP/IP
TCP/IP is the foundational suite of networking protocols that governs how data is addressed, transmitted, routed, and reliably delivered across the internet an…
UDP
UDP (User Datagram Protocol) is a lightweight, connectionless transport-layer protocol that sends data packets, called datagrams, without establishing a connec…
DNS Resolution
DNS resolution is the process of translating a human-readable domain name, like example.com, into the numerical IP address that computers use to locate and con…
IPv6
IPv6 (Internet Protocol version 6) is the most recent version of the Internet Protocol, designed to replace IPv4 by providing a vastly larger address space and…
Study Notes(1)
Interview Questions(14)
Difference Between TCP and UDP
TCP is a connection-oriented transport protocol that guarantees reliable, ordered, error-checked delivery through a handshake and acknowledgements, while UDP i…
What is a Socket?
A socket is an endpoint for network communication, uniquely identified by the combination of an IP address, a port number, and a transport protocol (TCP or UDP…
What is a Port in Networking?
A port is a 16-bit number (0–65535) that identifies a specific process or service on a device, letting a single IP address handle many simultaneous network con…
What is the Transport Layer (OSI Layer 4)?
The Transport layer is OSI Layer 4 — it manages end-to-end communication between applications on two hosts, using port numbers to distinguish processes and pro…
What is NTP (Network Time Protocol)?
NTP (Network Time Protocol) is an application-layer protocol, running over UDP port 123, that synchronizes a device’s clock to an accurate reference time by ex…
What is Packet Loss?
Packet loss is the failure of one or more transmitted packets to reach their destination, caused by congestion, faulty hardware, signal interference, or a rout…
What is netstat?
netstat is a command-line utility that displays active network connections, listening ports, routing tables, and per-protocol statistics on a host, making it a…
What is a Network Socket vs a Port?
A port is just a 16-bit number (0-65535) identifying an application or service on a host, while a socket is the full combination of protocol, source IP, source…
What Are Ephemeral Ports?
Ephemeral ports are short-lived, dynamically assigned source port numbers, typically drawn from the range 49152-65535 (or 32768-60999 on Linux), that an operat…
What Are Well-Known Ports?
Well-known ports are the reserved TCP/UDP port numbers from 0 to 1023, assigned by IANA to specific standard services, such as 80 for HTTP, 443 for HTTPS, 22 f…
What Are Common UDP Use Cases?
UDP is best used where low latency and minimal overhead matter more than guaranteed delivery, such as DNS lookups, live video/voice streaming, online multiplay…
When Should You Use TCP vs UDP?
Use TCP when correctness and ordered, complete delivery matter more than latency (web pages, file transfers, APIs), and use UDP when low latency and minimal ov…
What is the QUIC Protocol?
QUIC is a transport-layer protocol built on top of UDP that provides TCP-like reliability and congestion control plus built-in TLS 1.3 encryption, multiplexed…
What Is HTTP/3 and How Does QUIC Change Things?
HTTP/3 runs over QUIC, a transport protocol built on UDP instead of TCP, which gives each multiplexed stream its own independent loss-recovery so packet loss o…