TCP/IP Addressing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.