Méthode System::Net::IPAddress::HostToNetworkOrder

IPAddress::HostToNetworkOrder(int16_t) method

Convertit l’ordre d’octets hôte spécifié en l’ordre d’octets réseau correspondant.

static int16_t System::Net::IPAddress::HostToNetworkOrder(int16_t host)
ParamètreTypeDescription
hôteint16_tLa valeur à convertir.

ReturnValue

L’ordre des octets réseau correspondant.

Voir aussi

IPAddress::HostToNetworkOrder(int32_t) method

Convertit l’ordre d’octets hôte spécifié en l’ordre d’octets réseau correspondant.

static int32_t System::Net::IPAddress::HostToNetworkOrder(int32_t host)
ParamètreTypeDescription
hôteint32_tLa valeur à convertir.

ReturnValue

L’ordre des octets réseau correspondant.

Voir aussi

IPAddress::HostToNetworkOrder(int64_t) method

Convertit l’ordre d’octets hôte spécifié en l’ordre d’octets réseau correspondant.

static int64_t System::Net::IPAddress::HostToNetworkOrder(int64_t host)
ParamètreTypeDescription
hôteint64_tLa valeur à convertir.

ReturnValue

L’ordre des octets réseau correspondant.

Voir aussi