TCP/IP addressing

Source: Internet
Author: User

TCP/IP addressing 1. Each computer must have an IP address to connect to the Internet. Each IP package must have one address before it can be sent to another computer. 2. The IP address contains four numbers: 219.136.30. *** TCP/IP uses four numbers to address the computer. Each computer must have a unique 4-digit address. Numbers are between 0 and 255 and are separated by dots. For example, 192.168.1.60 3. TCP uses a fixed connection TCP for communications 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 both parties "Shake hands", TCP will establish a full-duplex communication between the two applications. This full-duplex communication will occupy the communication line between two computers until it is closed by either or both parties. UDP is similar to TCP, but it is simpler, and the reliability is lower than TCP. 4. 32 bits = 4-byte TCP/IP uses 32 bits for addressing. The size of a computer is 8 bits. Therefore, TCP/IP uses 4 bytes. A computer byte can contain 256 different values: 00000000, 00000001, 00000010, 00000011, 00000100, 00000101, 00000110, 00000111 until 00001000. Now you know why the TCP/IP address is 4 numbers between 0 and 255. 5. The domain name contains 12 Arabic numerals which are hard to remember. It is easier to use a name. The TCP/IP address is called a domain name. W3school.com.cn is a domain name. When you type a domain name like a http://www.w3school.com.cn, the domain name is translated as a number 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 domain names into TCP/IP addresses and updating systems with new domain name information. When a new domain name is registered with its TCP/IP address, DNS servers around the world update this information.

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.