Networking_IpConfig_EnableStaticIp 함수

헤더: #include <applibs/networking.h>

고정 IP를 사용하도록 설정하고 Networking_IpConfig 구조체에 대한 동적 IP를 사용하지 않도록 설정합니다.

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

매개 변수

  • ipConfig 업데이트할 Networking_IpConfig 구조체에 대한 포인터입니다.

  • ipAddress 고정 IP 주소입니다.

  • subnetMask 정적 서브넷 마스크입니다.

  • gatewayAddress 정적 게이트웨이 주소입니다.

개념 및 샘플