Latest web development tutorials

TCP / IP Introduction

TCP / IP is a communication protocol for the Internet (Internet) of.


Computer communication protocol (Computer Communication Protocol)

Computer communication protocol is a description of those computers must abide by the rules in order to communicate with each other's.


What is TCP / IP?

TCP / IP is available for the computer is connected to the Internet communications protocol communications.

TCP / IP means Transmission Control Protocol / Internet protocol (T ransmission C ontrol P rotocol / I nternet P rotocol).

TCP / IP defines the electronic device (such as a computer) how to connect to the Internet, and how data transmission standard between them.


In the TCP / IP inside

It contains a series of protocols for handling data communications over TCP / IP:

  • 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 error and status
  • DHCP (Dynamic Host Configuration Protocol) - for dynamic addressing

TCP uses a fixed connection

TCP is used for communication between applications.

When the application wants with another application via TCP communication, it sends a communication request. The request must be sent to an exact address. After the two sides "handshake", TCP will establish a full-duplex (full-duplex) communication between the two applications.

This full-duplex communication will occupy the communication line between two computers until it is either or both closed.

UDP and TCP is very similar, but simpler, but less reliable than TCP.


IP is connectionless

IP is used for communication between computers.

IP is a communication protocol connection. It does not occupy the communication line is communication between two computers. Thus, IP reduces the need for network lines. Each line can meet the communication needs of many different computers.

Divided by IP, messages (or other data) into small separate packets and transmitted over the Internet between computers.

IP is responsible for routing each packet to its destination.


IP router

When an IP packet is sent from one computer, it will arrive at an IP router.

IP router is responsible for routing the packet to its destination, either directly or through other routers.

In a same communication path through which a packet may be different from other packages. The router is responsible for based on traffic, network errors, or other parameters to be properly addressed.


TCP / IP

TCP / IP means that TCP and IP work together.

TCP is responsible for communication applications (eg your browser) and the network software.

IP is responsible for communication between computers.

TCP is responsible for loading data into IP packets and then reassembled when they reach them.

IP is responsible for sending the packet to the recipient.