Posts

Showing posts from July, 2024

what are the different between tcp and ip ?

TCP and IP are fundamental protocols in networking, but they serve different purposes. Here’s a breakdown of their differences: TCP (Transmission Control Protocol) 1. **Function**: TCP is responsible for ensuring that data sent over a network arrives intact and in the correct order. It handles the error-checking, retransmission of lost packets, and flow control. 2. **Connection-Oriented**: TCP establishes a connection between the sender and receiver before data is transmitted. This connection ensures that both ends are ready for data transfer. 3. **Reliability**: TCP provides reliability by using acknowledgments and retransmissions. If packets are lost or corrupted, TCP will resend them. 4. **Data Integrity**: It ensures data integrity through checksums and sequence numbers, so data is delivered accurately and in the correct order.  IP (Internet Protocol) 1. **Function**: IP is responsible for addressing and routing packets of data across networks. It determines how packets are se...