lookup_by_name_async


Description:

public virtual async List<InetAddress> lookup_by_name_async (string hostname, 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_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

cancellable

a Cancellable, or null

callback

callback to call after resolution completes

user_data

data for callback