System::Net::IPAddress::NetworkToHostOrder 方法

IPAddress::NetworkToHostOrder(int16_t) method

将指定的网络字节序转换为相应的主机字节序。

static int16_t System::Net::IPAddress::NetworkToHostOrder(int16_t network)
参数类型描述
networkint16_t要转换的值。

ReturnValue

相应的主机字节序。

另见

IPAddress::NetworkToHostOrder(int32_t) method

将指定的网络字节序转换为相应的主机字节序。

static int32_t System::Net::IPAddress::NetworkToHostOrder(int32_t network)
参数类型描述
networkint32_t要转换的值。

ReturnValue

相应的主机字节序。

另见

IPAddress::NetworkToHostOrder(int64_t) method

将指定的网络字节序转换为相应的主机字节序。

static int64_t System::Net::IPAddress::NetworkToHostOrder(int64_t network)
参数类型描述
networkint64_t要转换的值。

ReturnValue

相应的主机字节序。

另见