p { margin-bottom: 0.21cm; }a:link { color: rgb(0, 0, 255); }
此来用来表示ip 地址以字节和字符串形式表示
| static InetAddress | |
| getHostAddress () |
获取IP地址详解
本文介绍了如何使用静态方法getByName通过主机名获取IP地址,并展示了如何通过getHostAddress方法返回IP地址的字符串形式。
p { margin-bottom: 0.21cm; }a:link { color: rgb(0, 0, 255); }
此来用来表示ip 地址以字节和字符串形式表示
| static InetAddress | |
| getHostAddress () |
452
209

被折叠的 条评论
为什么被折叠?