#include <dolphin/ip.h>
BOOL IPAtoN( const char* dottedDecimal, u8* addr );IPAtoN() converts the IPv4 address from the dotted-decimal notation
to binary address.
dottedDecimal |
dotted-decimal notation of an IPv4 address. |
addr |
binary IPv4 address in network byte order. |
TRUE if dottedDecimal is
a valid IPv4 address notation (even if addr
is NULL). FALSE if dottedDecimal
is not a valid IPv4 address notation.