lookup_by_name_with_flags_async


Description:

[ 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.

Parameters:

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 callback




2022 vala-language.org