lwip_gethostbyname() function
Returns an entry containing addresses of address family AF_INET for the host with name name. dns_gethostbyname can return as many address as configured in DNS_MAX_HOST_IP.
Arguments
name
the hostname to resolve
Return value
an entry containing addresses of address family AF_INET for the host with name name