The Internet Protocol (IP) is a data-oriented protocol used by source and destination hosts for communicating data across a packet-switched inter-network.
Data in an IP inter-network are sent in blocks referred to as packets or datagram (the terms are basically synonymous in IP). In particular, in IP no setup is needed before a host tries to send packets to a host it has previously not communicated with.
Transmission Control Protocol:
Applications that require the host-to-host transport protocol to provide reliable data delivery use TCP because it verifies that data is delivered across the network accurately and in the proper sequence. TCP is a reliable, connection-oriented, byte-stream protocol.












