SOC_InetAtoN

C Specification

#include <nitroWiFi/soc.h>
int SOC_InetAtoN ( const char* cp, SOCInAddr* inp );

Arguments

cp IPv4 address in dot-decimal notation.
inp Binary IPv4 address in network byte order.

Return Values

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.

Description

This function converts IP addresses from dot-decimal notations to binary addresses.

See Also

SOC_InetNtoA, SOC_InetPtoN, SOC_InetNtoP, SOCInAddr

Revision History

09/13/2005 Initial version.