Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Introduction to TCP/IP


May 27, 2021 TCP/IP


Table of contents


Introduction to TCP/IP


TCP/IP (translated as a transport control protocol/Internet interconnection protocol) is a communication protocol for the Internet ( 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 a communication protocol for computers connected to the Internet to communicate.

TCP/IP refers to the transport control protocol/Internet protocol (T ransmission C ontrol P rotocol / I nternet P rotocol).

TCP/IP defines how electronic devices, such as computers, connect to the Internet and how data is transmitted between them.


Inside TCP/IP

Include a series of protocols for processing data traffic in TCP/IP:

  • TCP (Transport Control Protocol) - Communication between applications
  • UDP (User Packet Protocol) - Simple communication between applications
  • IP (Internet Protocol) - Communication between computers
  • ICMP (Internet Message Control 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 through TCP, it sends a communication request. T he 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 duplecom communication will take up the communication line between the two computers until it is shut down by one or both parties.

UDP and TCP are similar, but simpler, and less reliable than TCP.


Ips are not connected

IP is used for communication between computers.

IP is a communication protocol without connectivity. I t does not take up the communication line between two computers that are communicating. I n this way, IP reduces the need for network lines. Each line can meet the communication needs of many different computers at the same time.

Through IP, messages (or other data) are split into small, separate packages that are transmitted between computers over the Internet.

IP is responsible for routing each package to its destination.


THE IP router

When an IP packet is sent from a computer, it reaches an IP router.

The IP router is responsible for routing the package to its destination, either directly or through another router.

In the same communication, a package may pass through a different path than the other packages. The router is responsible for correctly addressing traffic, errors in the network, or 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 web software.

IP is responsible for communication between computers.

TCP is responsible for splitting and loading data into IP packages and then reassemble them when they arrive.

IP is responsible for sending the package to the recipient.