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

Public 成员函数

静态 Public 成员函数

静态包属性

详细描述

在文件 BuiltinObjects.x1021 行定义.

构造及析构函数说明

◆ DatagramSocket()

void DatagramSocket ( )

成员函数说明

◆ available() [1/2]

long available ( bool  )

◆ available() [2/2]

int available ( long  ,
int   
)

◆ bind()

bool bind ( String  ,
int   
)

◆ close()

void close ( )

◆ connect()

bool connect ( String  ,
int   
) throws IllegalArgumentException

◆ finalize()

void finalize ( )

◆ getHandle()

long getHandle ( )

◆ getLocalInetAddress()

InetAddress getLocalInetAddress ( )

◆ getLocalIpAddress()

String getLocalIpAddress ( )

◆ getLocalPort()

int getLocalPort ( )

◆ getRemoteInetAddress()

InetAddress getRemoteInetAddress ( )

◆ getRemoteIpAddress()

String getRemoteIpAddress ( )

◆ getRemotePort()

int getRemotePort ( )

◆ read()

int read ( byte  [],
int  ,
int   
) throws IndexOutOfBoundsException, IllegalArgumentException

◆ receive()

bool receive ( DatagramPacket  )

◆ select()

static final int select ( DatagramSocket  [],
int  ,
int  ,
int  ,
int  [],
int   
) throws IndexOutOfBoundsException, IllegalArgumentException, InterruptedException
static

◆ send()

bool send ( DatagramPacket  )

◆ sendTo() [1/2]

int sendTo ( InetAddress  ,
  byte[],
int  ,
int   
) throws IndexOutOfBoundsException, IllegalArgumentException

◆ sendTo() [2/2]

int sendTo ( String  ,
int  ,
  byte[],
int  ,
int   
) throws IndexOutOfBoundsException, IllegalArgumentException

◆ setSoTimeout()

bool setSoTimeout ( int  )

◆ write()

int write ( byte  [],
int  ,
int   
) throws IndexOutOfBoundsException, IllegalArgumentException

结构体成员变量说明

◆ FLAGS_EXCEPTION

const int FLAGS_EXCEPTION
staticpackage

在文件 BuiltinObjects.x1024 行定义.

◆ FLAGS_READABLE

const int FLAGS_READABLE
staticpackage

在文件 BuiltinObjects.x1022 行定义.

◆ FLAGS_WRITEABLE

const int FLAGS_WRITEABLE
staticpackage

在文件 BuiltinObjects.x1023 行定义.