TCP/IP Introduction
TCP/IP is the communication protocol used for the Internet.
Computer Communication Protocol
A computer communication protocol is a description of the rules that computers must follow in order to communicate with each other.
What is TCP/IP?
TCP/IP is the communication protocol used by computers connected to the Internet to communicate.
TCP/IP stands for Transmission Control Protocol / Internet Protocol (Transmission Control Protocol / Internet Protocol).
TCP/IP defines how electronic devices (such as computers) connect to the Internet and the standard for how data is transmitted between them.
Inside TCP/IP
TCP/IP contains a series of protocols for handling data communication:
- TCP (Transmission Control Protocol) - communication between applications
- UDP (User Datagram Protocol) - simple communication between applications
- IP (Internet Protocol) - communication between computers
- ICMP (Internet Control Message Protocol) - for errors and status
- DHCP (Dynamic Host Configuration Protocol) - for dynamic addressing
TCP uses a fixed connection
TCP is used for communication between applications.
When an application wants to communicate with another application over TCP, it sends a communication request. This request must be sent to an exact address. After the two sides "shake hands", TCP establishes a full-duplex communication between the two applications.
This full-duplex communication occupies the communication line between the two computers until it is closed by one or both sides.
UDP is very similar to TCP, but simpler and less reliable than TCP.
IP is connectionless
IP is used for communication between computers.
IP is a connectionless communication protocol. It does not occupy the communication line between two communicating computers. In this way, IP reduces the demand on network lines. Each line can simultaneously serve communication between many different computers.
With IP, messages (or other data) are split into small independent packets and transmitted between computers over the Internet.
IP is responsible for routing each packet to its destination.
IP routers
When an IP packet is sent from a computer, it reaches an IP router.
The IP router is responsible for routing the packet to its destination, directly or through other routers.
Within the same communication, the path taken by one packet may differ from that of other packets. Routers are responsible for correct addressing based on traffic, network errors and other parameters.
TCP/IP
TCP/IP means that TCP and IP work together.
TCP is responsible for communication between application software (such as your browser) and network software.
IP is responsible for communication between computers.
TCP is responsible for splitting data into IP packets and reassembling them when they arrive.
IP is responsible for sending packets to the recipient.