Delen via


Networking_IpConfig_EnableStaticIp functie

Header: #include <applibs/networking.h>

Hiermee schakelt u een statisch IP-adres in en schakelt u dynamische IP uit voor een Networking_IpConfig struct.

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

Parameters

  • ipConfig Een aanwijzer naar de Networking_IpConfig struct om bij te werken.

  • ipAddress Het statische IP-adres.

  • subnetMask Het statische subnetmasker.

  • gatewayAddress Het adres van de statische gateway.

Concepten en voorbeelden