Home Backend Development PHP Tutorial Internet Naming Rules and Addressing Conventions

Internet Naming Rules and Addressing Conventions

Jul 29, 2016 am 08:56 AM
com internet name

For us ordinary users, visual symbols are much easier to remember than a bunch of boring numerical codes. For example, we will easily remember the string "www.oscar.com", but it will be difficult to remember 206.17.191.12. This article briefly introduces Internet naming rules and address division conventions, and then introduces how to use Java language to complete the conversion between symbolic names (above string) and IP addresses (above numeric string), and gives an example , check the accessible remote hosts.

 Internet naming rules and address division conventions

 On the Internet, symbolic names are used to name hosts and networks, such as www.oscar.com. The "scientific name" of these symbolic names is called "Domain Name", which is the domain name. Although domain names are much more convenient for us, they must be converted into IP addresses (Internet Protocol Address) before they can be used as communication identifiers. An IP address is a 32-bit identifier that includes a network identifier and a host identifier to uniquely identify the host and network. The conversion of domain names into IP addresses is completed by a specialized system, which is the Domain Name System (Domain Name System??DNS). ?

  When data is sent/received between hosts on the same network or different networks, the IP address comes into play. If the data is transferred between hosts on the same network, only the host identifier in the IP address is used to determine the location of the host on the network. On the other hand, if it is communication between hosts in different networks, both the host ID and the network ID must be used to determine the corresponding host. The process of locating the network and host and then transmitting data is called routing. The router in the network contains an IP layer, which is responsible for executing the routing algorithm and sending the data packets to the destination. On the Internet, sending a database to its destination is a matter of IP layer. ?

  IP addresses are assigned to different organizations by the Internet registration department - Network Information Center (Network Information Center - NIC), and each organization then delegates it to multiple departments. An IP address takes up 4 bytes. ?

  Routed data packets may also be lost during transmission. Therefore, people use the underlying transmission protocol to judge whether the data transmission is correct or not. For example, TCP is used to check for errors or data loss, and when an error occurs, the corresponding database is sent again until the other host receives it correctly. ?

Currently, there are 3 categories (or 3 levels) of IP addresses: Class A, Class B and Class C. In addition, there is a type of IP address called "Multicast", which is used on some Internet hosts. These different categories of IP addresses meet the needs of different organizations. For example, Class A addresses are mainly used for large network systems with more than 65536 hosts; Class B addresses are used for medium-sized network systems with more than 255 hosts but less than 65536; Class C addresses are used for small ones with less than 256 hosts. network. ?

The above introduces the Internet naming rules and address division conventions, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hongmeng native application random poetry Hongmeng native application random poetry Feb 19, 2024 pm 01:36 PM

To learn more about open source, please visit: 51CTO Hongmeng Developer Community https://ost.51cto.com Running environment DAYU200:4.0.10.16SDK: 4.0.10.15IDE: 4.0.600 1. To create an application, click File- >newFile->CreateProgect. Select template: [OpenHarmony] EmptyAbility: Fill in the project name, shici, application package name com.nut.shici, and application storage location XXX (no Chinese, special characters, or spaces). CompileSDK10, Model: Stage. Device

What is public IP What is public IP Sep 27, 2021 am 10:30 AM

Public IP refers to a non-reserved address connected to the Internet using the public network, and can be freely accessed by other computers on the Internet. Each computer on the Internet has an independent IP address. This IP address uniquely identifies a computer on the Internet. This IP address refers to the public IP address.

How to solve the problem of unable to access the Internet in win11? Guide to solving the problem of Win11 computer being unable to connect to the internet How to solve the problem of unable to access the Internet in win11? Guide to solving the problem of Win11 computer being unable to connect to the internet Jan 29, 2024 pm 08:57 PM

When we use computers, we are all connected to the Internet. Only with the Internet can we surf the Internet. Recently, many users have asked me how to solve the problem of Win11 unable to connect to the Internet? Users can directly open the best matching service application provided by the system to set it up. Let this site carefully introduce to users the solution to the problem that Win11 computers cannot access the Internet. Solution 1 for Win11 computers unable to access the internet: You can press the Win+S key combination, or click the search icon next to the bottom taskbar to open the Windows search window. Enter "service" in the search box, and then click to open the best matching service application given by the system. Method Two

What is the communication protocol of the internet? What is the communication protocol of the internet? Dec 24, 2020 pm 02:53 PM

The main communication protocol used by the Internet is "TCP/IP protocol", TCP/IP transmission protocol, namely transmission control/network protocol, also called network communication protocol; it is the most basic communication protocol in the use of the network, TCP/IP The IP transport protocol stipulates the standards and methods for communication between various parts of the Internet.

How to set up Windows 11 without an Internet connection How to set up Windows 11 without an Internet connection Apr 15, 2023 am 10:46 AM

Starting with build 22557 and later, Windows 11 requires an Internet connection to complete first-time setup, also known as the Out-of-Box Experience (OOBE) for Home and Pro editions, although there is a way to bypass this requirement entirely. Since Microsoft wants users to connect their computers to their Microsoft accounts, the company is making changes to the initial Windows 11 setup that will make it nearly impossible to proceed with a clean installation without an Internet connection. Alternatively, if Settings detects that the device has no network connection, you will be sent to the Oops, you lost your Internet connection screen. If you click on the retry option you will see Connect to the Internet again

What is the difference between comcn and com What is the difference between comcn and com May 12, 2023 pm 04:08 PM

The difference between comcn and com: 1. There are differences between comcn and com in terms of meaning, but there is no difference in access speed; 2. comcn is an international domain name and is a global top-level domain name for use by commercial institutions, while cn is a Chinese company domain name , domestic commercial institutions, domestic domain names, only enterprises can register; 3. The search priority is that cn will search for .cn first. After finding the .cn server, the .cn server will then search for .com; 4. cn is provided by cnnic China Internet Center Management, com's management organization is abroad.

How to delete temporary Internet files How to delete temporary Internet files Dec 06, 2023 am 10:56 AM

Steps to delete temporary Internet files: 1. Press win+r to open "Run", enter: %temp% command in the run dialog box, click OK or press Enter to open the user account temporary folder; 2. After opening the Temp folder Press the Ctrl+A keys, select all temporary files, right-click, and click "Delete" in the right-click menu; 3. If there are individual temporary files that cannot be deleted, restart the computer to delete them.

What's going on with no internet access? What's going on with no internet access? Jun 29, 2023 pm 04:30 PM

The reasons why the network has no internet access: 1. Broadband arrears; 2. Poor network cable contact, strengthen the network cable; 3. Router and optical modem failure; 4. Problems with WiFi itself; 5. Computer system problems; 6. IP address not set properly ;

See all articles