TCP/IP uses a number of three bits or 4 digits between 0 and 255 to address the computer.
IP Address
Each computer must have an IP address in order to be able to connect to the Internet.
Each IP packet must have an address to be able to be sent to another computer.
The IP address consists of 4 digits:
This is your IP address:221.13.219.14
TCP/IP uses 4 digits to address a computer. Each computer must have a unique 4 -digit address.
The numbers are between 0 and 255 , separated by dots, like this:192.168.1.60
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 parties "handshake",TCP will establish a full-duplex (Full-duplex) communication between the two applications.
This full-duplex communication will occupy a communication line between two computers until it is closed by one or both parties.
UDP and TCP are similar, but simpler and less reliable than TCP.
bit = 4 bytes
TCP/IP uses a series of three bits to address. A computer byte is 8 bits. So TCP/IP uses 4 bytes.
A computer byte can contain a different value:
00000000,00000001,00000010,00000011,00000100,00000101, 00000110,00000111,00001000 ... Until 11111111.
Now, you know why the TCP/IP address is 4 numbers between 0 and 255 .
Domain name
It's hard to remember a few Arabic numerals. It's easier to use a name.
The name used for the TCP/IP address is called the domain name. baidu.com is a domain name.
When you type a domain name like http://www.baidu.com , the domain name is translated into numbers by a DNS program.
In the world, a large number of DNS servers are connected to the Internet. The DNS Server is responsible for translating the domain name into a TCP/IP address and is responsible for updating each other's systems with the new domain name information.
This information is updated by DNS servers around the world when a new domain name is registered with its TCP/IP address.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
TCP/IP Addressing