Embedded TCP/IP stack
4.7.0
|
fnet_return_t fnet_inet_ptos | ( | const fnet_char_t * | str, |
struct fnet_sockaddr * | addr | ||
) |
Converts IPv4 and IPv6 addresses from text to socket-address structure.
str | Null-terminated character string that contains the text representation of the IP address to convert to socket-address structure. The sa_port is set to zero. |
addr | Pointer to a socket-address structure to be filled. |
This function converts the character string src
into a socket-address structure.