Virtual Method
GioResolverlookup_by_name_with_flags_async
since: 2.60
Declaration [src]
void
lookup_by_name_with_flags_async (
  GResolver* resolver,
  const gchar* hostname,
  GResolverNameLookupFlags flags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Begins asynchronously resolving hostname to determine its
associated IP address(es), and eventually calls callback, which
must call g_resolver_lookup_by_name_with_flags_finish() to get the result. See g_resolver_lookup_by_name() for more details.
Available since: 2.60
Parameters
- hostname
- 
            Type: const gchar*The hostname to look up the address of. The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 
- flags
- 
            Type: GResolverNameLookupFlagsExtra GResolverNameLookupFlagsfor the lookup.
- cancellable
- 
            Type: GCancellableA GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackCallback to call after resolution completes. 
- user_data
- 
            Type: gpointerData for callback.The argument can be NULL.The data is owned by the caller of the method.