HostToNetworkOrder()

IPAddress::HostToNetworkOrder(int64_t) method

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

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

Arguments

ParameterTypeDescription
hostint64_tThe value to convert.

Return Value

The corresponding network byte order.

IPAddress::HostToNetworkOrder(int32_t) method

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

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

Arguments

ParameterTypeDescription
hostint32_tThe value to convert.

Return Value

The corresponding network byte order.

IPAddress::HostToNetworkOrder(int16_t) method

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

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

Arguments

ParameterTypeDescription
hostint16_tThe value to convert.

Return Value

The corresponding network byte order.

See Also