SilcBool silc_net_check_local_by_sock(SilcSocket sock, char **hostname, char **ip);
Performs lookups for local name and IP address. This peforms reverse lookup as well to verify that the IP has FQDN.