System::Net::IPAddress::HostToNetworkOrder method
IPAddress::HostToNetworkOrder(int16_t) method
将指定的主机字节序转换为相应的网络字节序。
static int16_t System::Net::IPAddress::HostToNetworkOrder(int16_t host)
| 参数 | 类型 | 描述 |
|---|---|---|
| host | int16_t | 要转换的值。 |
ReturnValue
对应的网络字节序。
另见
- Class IPAddress
- Namespace System::Net
- Library Aspose.Font for C++
IPAddress::HostToNetworkOrder(int32_t) method
将指定的主机字节序转换为相应的网络字节序。
static int32_t System::Net::IPAddress::HostToNetworkOrder(int32_t host)
| 参数 | 类型 | 描述 |
|---|---|---|
| host | int32_t | 要转换的值。 |
ReturnValue
对应的网络字节序。
另见
- Class IPAddress
- Namespace System::Net
- Library Aspose.Font for C++
IPAddress::HostToNetworkOrder(int64_t) method
将指定的主机字节序转换为相应的网络字节序。
static int64_t System::Net::IPAddress::HostToNetworkOrder(int64_t host)
| 参数 | 类型 | 描述 |
|---|---|---|
| host | int64_t | 要转换的值。 |
ReturnValue
对应的网络字节序。
另见
- Class IPAddress
- Namespace System::Net
- Library Aspose.Font for C++