[ Version ( since = "2.60" ) ]
public virtual async List<InetAddress> lookup_by_name_with_flags_async (string hostname, ResolverNameLookupFlags flags, Cancellable? cancellable = null) throws Error
Begins asynchronously resolving hostname
to determine its associated IP address(es), and eventually calls callback
, which must call lookup_by_name_with_flags_async.end to get the result.
See lookup_by_name for more details.
this |
a Resolver |
hostname |
the hostname to look up the address of |
flags |
extra ResolverNameLookupFlags for the lookup |
cancellable |
a Cancellable, or null |
callback |
callback to call after resolution completes |
user_data |
data for |