IPAtoN


C Specification

#include <dolphin/ip.h>

BOOL IPAtoN( const char* dottedDecimal, u8* addr );

Description

IPAtoN() converts the IPv4 address from the dotted-decimal notation to binary address.

Arguments

dottedDecimal dotted-decimal notation of an IPv4 address.
addr binary IPv4 address in network byte order.

Return Values

TRUE if dottedDecimal is a valid IPv4 address notation (even if addr is NULL). FALSE if dottedDecimal is not a valid IPv4 address notation.

See Also