Dela via


funktionen Networking_IpConfig_EnableStaticIp

Sidhuvud: #include <applibs/networking.h>

Aktiverar statisk IP och inaktiverar dynamisk IP för en Networking_IpConfig struct.

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

Parametrar

  • ipConfig En pekare till den Networking_IpConfig struct som ska uppdateras.

  • ipAddress Den statiska IP-adressen.

  • subnetMask Den statiska undernätsmasken.

  • gatewayAddress Den statiska gatewayadressen.

Koncept och exempel