This document provides an overview of TCP/IP concepts and networking fundamentals, including:
- The TCP/IP protocol stack consists of 4 layers: application, transport, internet, and network. The transport layer uses TCP and UDP to encapsulate data into segments.
- TCP uses a 3-way handshake to establish a connection and its header includes fields like source/destination ports and sequence numbers. Common TCP ports like 80 and 443 are used for web traffic.
- IP addresses are made of a network and host portion and are classified into classes A, B, and C. Subnet masks determine the network vs host portions.
- UDP is a simpler connectionless protocol. ICMP and protocols like ping