Sdílet prostřednictvím


Networking_IpConfig_EnableStaticIp funkce

Hlavička: #include <applibs/networking.h>

Povolí statickou IP adresu a zakáže dynamickou IP adresu pro strukturu Networking_IpConfig .

void Networking_IpConfig_EnableStaticIp(Networking_IpConfig *ipConfig, struct in_addr ipAddress, struct in_addr subnetMask, struct in_addr gatewayAddress);

Parametry

  • ipConfig Ukazatel na strukturu Networking_IpConfig, která se má aktualizovat.

  • ipAddress Statická IP adresa.

  • subnetMask Statická maska podsítě

  • gatewayAddress Adresa statické brány.

Koncepty a ukázky