📄 16.1.html
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Weng Kai">
<TITLE>Identifying a machine</TITLE>
</HEAD>
<BODY>
<H2>16.1 Identifying a machine</H2>
<HR WIDTH="100%">
IP (Internet Protocol) address can exist in two forms:
<ol>
<li>The familiar DNS (Domain Name Service) form. My domain name is bruceeckel.com, so suppose I have a computer called Opus in my domain. Its domain name would be Opus.bruceeckel.com. This is exactly the kind of name that you use when you send email to people, and is often incorporated into a World-Wide-Web address.</li>
<li>Alternatively, you can use the "dotted quad" form, which is four numbers separated by dots, such as 123.255.28.120.</li>
</ol>
You can get a special Java object to represent this number from either of the forms above by using the static InetAddress.getByName( ) method that's in java.net.
<br>
Case Study:<a href=case/WhoAmI.java>WhoAmI.java</a>
<HR WIDTH="100%">
<DIV ALIGN=right><A HREF="16.2.html">Next Page</A></DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -