Function silc_net_gethostbyname_async
SYNOPSIS
void silc_net_gethostbyname_async(const char *name,
SilcBool prefer_ipv6,
SilcSchedule schedule,
SilcNetResolveCallback completion,
void *context)
DESCRIPTION
Asynchronously resolves the IP address of the hostname indicated
by the `name'. This function returns immediately, and the
`completion' callback will be called after the resolving is
completed.
If the `prefer_ipv6' is TRUE then this will return IPv6 address if it
finds. If FALSE if returns IPv4 address even if it found IPv6
address also.
|