## IPAddress::HostToNetworkOrder(int16_t) method


Converts the specified host byte order to the corresponding network byte order.

```cpp
static int16_t System::Net::IPAddress::HostToNetworkOrder(int16_t host)
```


| Parameter | Type | Description |
| --- | --- | --- |
| host | int16_t | The value to convert. |

### ReturnValue

The corresponding network byte order.

## See Also

* Class [IPAddress](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## IPAddress::HostToNetworkOrder(int32_t) method


Converts the specified host byte order to the corresponding network byte order.

```cpp
static int32_t System::Net::IPAddress::HostToNetworkOrder(int32_t host)
```


| Parameter | Type | Description |
| --- | --- | --- |
| host | int32_t | The value to convert. |

### ReturnValue

The corresponding network byte order.

## See Also

* Class [IPAddress](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## IPAddress::HostToNetworkOrder(int64_t) method


Converts the specified host byte order to the corresponding network byte order.

```cpp
static int64_t System::Net::IPAddress::HostToNetworkOrder(int64_t host)
```


| Parameter | Type | Description |
| --- | --- | --- |
| host | int64_t | The value to convert. |

### ReturnValue

The corresponding network byte order.

## See Also

* Class [IPAddress](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
