System::Net::IPAddress::HostToNetworkOrder method

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)
ParameterTypeDescription
hostint64_tThe value to convert.

ReturnValue

The corresponding network byte order.

See Also

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)
ParameterTypeDescription
hostint32_tThe value to convert.

ReturnValue

The corresponding network byte order.

See Also

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)
ParameterTypeDescription
hostint16_tThe value to convert.

ReturnValue

The corresponding network byte order.

See Also