xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 包函数 | 静态包函数
InetAddress类 参考

网络地址类 更多...

Public 成员函数

静态 Public 成员函数

包函数

静态包函数

详细描述

网络地址类

在文件 BuiltinObjects.x671 行定义.

构造及析构函数说明

◆ InetAddress() [1/4]

void InetAddress ( )

◆ InetAddress() [2/4]

void InetAddress ( String  ,
int   
)

◆ InetAddress() [3/4]

InetAddress ( )
package

构造

◆ InetAddress() [4/4]

InetAddress ( String  host,
int  port 
)
package

构造

参数
host地址
port端口

成员函数说明

◆ finalize()

void finalize ( )

◆ getAddress() [1/2]

int getAddress ( )

◆ getAddress() [2/2]

int getAddress ( )
package

获取32位IP地址

返回
地址

◆ getAddressString()

String getAddressString ( )
package

获取地址字串

返回
地址

◆ getHostAddress()

String getHostAddress ( )

◆ getHostInetAddress() [1/2]

static InetAddress [] getHostInetAddress ( String  hostname)
staticpackage

从HOSTNAME获取IP地址

返回
地址

◆ getHostInetAddress() [2/2]

static final InetAddress [] getHostInetAddress ( String  )
static

◆ getPort() [1/2]

int getPort ( )

◆ getPort() [2/2]

int getPort ( )
package

获取端口

返回
端口