firedns_resolveip43
Resolve a hostname to an ipv4 address
Usage
#include <firedns.h>
-lfiredns
struct in_addr *firedns_resolveip4(const char * const name)
struct in_addr *firedns_resolveip4_r(const char * const name)
Overview
firedns_resolveip4() attempts to resolve the hostname name to an IPv4 address.
Return value
Returns a pointer to an internal static struct in_addr that contains the IP address of name in binary format, or NULL on error.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).