silc_net_gethostbyaddr

SYNOPSIS

   SilcBool silc_net_gethostbyaddr(const char *addr, char *name,
                                   SilcUInt32 name_len);


    Resolves the hostname for the IP address indicated by the `addr'
    This returns TRUE and the resolved hostname to the `name' buffer,
    or FALSE on error. The `addr' may be either IPv4 or IPv6 address.
    This is synchronous function and will block the calling process.