Difference between TCP and IP
TCP vs IP:
It is a well known fact that there are over 6.9 billion people on Earth. And the most interesting fact is that there are over 2.3 people on the Internet. Everyone who uses Internet uses TCP and IP, which are communication protocols for the Internet. But hardly have we found someone who is well aware of what these two abbreviations really are. On the other hand people who are aware of the difference between TCP and IP are seldom found. Therefore this paper is with the objective of providing a brief knowledge on these two communication protocols, with brief introductions for TCP and IP and a description how these two differ from each other.
What s TCP?
TCP stands for Transmission Control Protocol. It is a protocol, simply a set of rules, developed for the internet to get data from one network device to another; “TCP uses a retransmission strategy to insure that data will not be lost in transmission”. TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent. TCP is the protocol used by major Internet applications such as the World Wide Web, email, remote administration and file transfer. TCP is optimized for accurate delivery rather than timely delivery, and therefore, TCP sometimes incurs relatively long delays (in the order of seconds) while waiting for out-of-order messages or retransmissions of lost messages. It is not particularly suitable for real-time applications such as Voice over IP. TCP keeps track of the individual units of data transmission, called segments, which a message is divided into for efficient routing through the network.
What is IP?
The abbreviation IP stands for the term Internet Protocol. An IP is the primary network protocol used on the Internet, developed in the 1970s. On the Internet and many other networks, IP is often used together with the Transport Control Protocol (TCP) and referred to interchangeably as TCP/IP. IP supports unique addressing for computers on a network. Most networks use the Internet Protocol version 4 (IPv4) standards that features IP addresses four bytes (32 bits) in length. The newer Internet Protocol version 6 (IPv6) standard features addresses 16 bytes (128 bits) in length. The Internet Protocol is responsible for addressing hosts and routing datagrams (packets) from a source host to the destination host across one or more IP networks. For this purpose the Internet Protocol defines an addressing system that has two functions: identifying hosts and providing a logical location service. This is accomplished by defining standard datagrams and a standard addressing system. When an IP packet is sent from a computer, it arrives at an IP router. The IP router is responsible for “routing” the packet to the correct destination, directly or via another router.
What is the difference between IP and TCP?
TCP and IP are connected to each other in a way that cannot be separated. The difference between the TCP and IP can be understood very easily. Imagining a letter about to be posted, one can identify this difference easily since the envelop there, act as the IP and the letter or the message in it is the CTP. Adding more to this, TCP provides communication services at an intermediate level between an application program and the IP. What this means is that when an application program wants to send a large piece of data across the internet using the IP, instead of breaking the data into sizes that will fit the IP and using a series of requests from the IP, the software is capable of issuing a single request to TCP, and let this protocol handle the details of the IP transfer. TCP detects problems that arise in the IP, requests retransmission of the packets that were lost, rearranges the order of the packets (so that they are put back into their proper order), and helps to minimize network congestion (in order to reduce the occurrence of other problems down the line).
TCP is one of the main protocols in TCP/IP networks whereas the IP protocol deals only with packets. TCP is for communication between applications. If one application wants to communicate with another via TCP, it sends a communication request. This request must be sent to an exact address. After a “handshake” between the two applications, TCP will set up a “full-duplex” communication between the two applications. The “full-duplex” communication will occupy the communication line between the two computers until it is closed by one of the two applications. But IP is for communication between computers. IP is a “connection-less” communication protocol. IP does not occupy the communication line between two computers. IP reduces the need for network lines. Each line can be used for communication between many different computers at the same time. With IP, messages (or other data) are broken up into small independent “packets” and sent between computers via the Internet. IP is responsible for “routing” each packet to the correct destination.