#include <nitroWiFi/soc.h>
int SOC_InetAtoN ( const char* cp, SOCInAddr* inp );
cp |
IPv4 address in dot-decimal notation. |
inp |
Binary IPv4 address in network byte order. |
If cp is in valid IPv4 address notation, (even if inp is NULL) the function will return TRUE. If cp is not in valid IPv4 address notation, the function will return FALSE.
This function converts IP addresses from dot-decimal notations to binary addresses.
SOC_InetNtoA, SOC_InetPtoN, SOC_InetNtoP, SOCInAddr
2005/09/13 Initial version.
CONFIDENTIAL