Embedded TCP/IP stack
4.7.0
|
fnet_return_t fnet_inet_aton | ( | fnet_char_t * | cp, |
struct fnet_in_addr * | addr | ||
) |
Converts the string in the standard dotted-decimal notation to an integer value, suitable for use as an IPv4 address.
cp | Null-terminated character string representing a number expressed in the Internet standard "." (dotted) notation. |
addr | Pointer to an integer will contain a suitable binary representation of the Internet address cp . |
This function interprets the character string specified by the cp
parameter. This string represents a numeric Internet address expressed in the Internet standard "." notation. The value returned, pointed to by the addr
, is a number suitable for use as an Internet address.