GResolverClass.lookupByName

struct GResolverClass
extern (C)
GList* function(GResolver* resolver, const(char)* hostname, GCancellable* cancellable, GError** err) lookupByName;

Return Value

a non-empty GList of gio.InetAddress, or NULL on error. You must unref each of the addresses and free the list when you are done with it. (You can use Resolver.freeAddresses to do this.)

Throws

GException on failure.