Internet Protocol (IP)
A set of rules that govern how data is transmitted across networks, ensuring communication between devices.
Protocols define how data is formatted, transmitted, and received, enabling interoperability between different systems.
Internet Protocol (IP) is responsible for addressing and routing data packets across networks.
Characteristics of IP
- IP Addressing : Each device on a network is assigned a unique IP address, which identifies the source and destination of data packets.
- Packet Switching : Data is divided into packets, each containing a portion of the data and routing information.
- Connectionless Protocol: IP does not establish a connection before sending data, packets may take different routes to reach the destination.
- Best-Effort Delivery: IP does not guarantee packet delivery, order, or error correction.
- IPv4: 192.168.1.1
- IPv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
Protocol which ensures reliable, ordered, and error-checked delivery of data between applications.
Characteristics of TCP
- Connection-Oriented Protocol : TCP establishes a connection between sender and receiver using a three-way handshake.
- Reliable Delivery: TCP ensures all packets are delivered and in the correct order. Missing packets are retransmitted.