Network+ Exam
Transmission Crontol Protocol (TCP)
October 29, 2025
- #network+
Transmission Crontol Protocol (TCP)
A fundamental protocol within the internet protocol suite that consists of set of rules that goven the exchange of data/
Error checking
Data checking a
Acknowledgemetn
Works at laeyer 4 of the oci MODEL.
tcp ensure reliable transmission of data by breaking down larger messages into smaller packets.
TCP == 3 WAY HANDSHAKE
SYN > syn ack > ack
Error checking and flow control.
Employs flow control
Windowing: Allows the reciver to specify the amount of data it can handle at a time.
Port a numerical identifier in TCP/IP and other network protocols that helps distinguish between differnet services or applications.
Source and Destination IP
Source and Destionation Ports.
Ports are important in the communiation process because these ports allow for multiple network applications.
π TCP β Transmission Control Protocol (Layer 4)
A fundamental protocol of the Internet Protocol Suite
Ensures reliable, ordered, and error-checked delivery of data between devices.
β Key Features of TCP
| Feature | Description | | --- | --- | | Connection-oriented | Establishes a session using 3-way handshake | | Reliable | Guarantees delivery, retransmits lost packets | | Sequencing | Ensures packets arrive in correct order | | Acknowledgments | Confirms receipt of data | | Flow Control | Prevents sender from overwhelming the receiver | | Error Checking | Uses checksums to verify data integrity |
π€ TCP 3-Way Handshake
pgsql
CopyEdit
Client Server
| ----------- SYN ----------> |
| <-------- SYN-ACK --------- |
| ----------- ACK ----------> |
β
Connection Established
π³ Windowing (Flow Control Mechanism)
- Receiver tells sender how much data it can handle
- Helps prevent congestion or dropped packets
- TCP dynamically adjusts the window size for efficiency
π§ Bigger window = more data at once
Smaller window = slower, more reliable transfer
π’ Ports: Identifiers for Network Services
- Numerical values used to distinguish between different apps/services
- Work with IP addresses to complete connections
| Element | Example | | --- | --- | | Source IP | 192.168.1.10 | | Destination IP | 10.0.0.5 | | Source Port | 49512 (ephemeral) | | Destination Port | 443 (HTTPS) |
π Ports enable multiple network apps to run at once on the same device
π§ Memory Aid
TCP = "Total Care Protocol" β Reliable, caring, confirms delivery
Ports = App Doors β Each port = entry for a different network service
β‘ Rapid Review Questions
-
What layer does TCP operate on?
β Layer 4 (Transport)
-
Whatβs the purpose of the TCP 3-way handshake?
β To establish a reliable connection
-
How does TCP ensure reliable transmission?
β Error checking, sequencing, acknowledgments, and flow control
-
Why are ports important in TCP/IP?
β They direct traffic to the correct application or service