What is TCP/IP - Difference in TCP and IP


TCP and IP are the first and most important communication protocols of the Internet protocol suite (which includes all communication protocols, that is to say a set of rules and message formats implemented to transfer data between computer systems, used for the Internet and other networks). Sometimes the Internet protocol suite is called TCP / IP because of the importance of the two protocols. TCP belongs to the transport layer and IP to the Internet layer of the Internet protocol suite.

What is intellectual property?

The IP or Internet protocol is the basic protocol that makes up the Internet because it is responsible for addressing hosts (computers) and transporting data packets between hosts, via a packet switched inter-network. Residing on the Internet layer of the Internet protocol suite, IP only performs the task of transmitting data packets (data-grams) from one host to another, according to the addresses of the hosts; therefore, is considered unreliable, as data packets sent over the Internet using IP can be lost, corrupted, or delivered in an un-ordered manner.

With the main tasks of IP being Addressing and Routing (data packet delivery), IP defines an addressing system that identifies and assigns logical IP addresses or locations to hosts. IP routing is typically performed by both hosts and routers, which transmit packets of encapsulated data with a header containing information about the data and the destination IP address, as well as a body containing data to destination hosts.

What is TCP ??

TCP or transmission control protocol, which belongs to the transport layer of the Internet protocol combination, ensures reliability and the orderly delivery of information (in the form of byte streams) from one computer to another. Most Internet applications requiring reliable and secure data transfer, such as the World Wide Web, email, peer-to-peer file sharing, streaming media applications, and other file transfer services, use the protocol. TCP for transmission and communication purposes.

TCP acts as an intermediate layer between the application layers and the Internet. When an application needs to send data over the Internet via IP, without accessing IP directly, the application sends requests to TCP, which handles all details related to IP. If packet loss, corruption, or un-ordered data delivery is detected by TCP, TCP requests that data packets be resent and reorganizes the data before it is resent to the application. TCP is concerned about the accuracy of data transmission rather than fast delivery; therefore, may cause delays in waiting for re-transmissions, ordering data, etc.

What is the difference between IP and TCP?

IP and TCP are two protocols that work together for reliable transmission of data over networks, including the Internet. While IP defines rules which transmit data from one host to another, TCP defines rules which guarantee that the data supplied does not suffer any loss or corruption and is delivered in an orderly manner.

The main difference between the two protocols lies in the layers in which they reside. TCP belongs to the transport layer and IP to the Internet layer of the protocol combination. In addition, while TCP gives priority to the accuracy of the data provided, the IP gives priority to the accuracy of the location of the data delivery to the accuracy of the data.

In addition, IP defines a set of logical addresses called IP addresses, which facilitates the identification of source and destination hosts essential for precise delivery, as well as maintaining the accuracy of the data, in particular in the event of corruption or data loss. the destination must be known for re-transmission.

Post a Comment