{section: Converting each socket functions } Now, I would like to enumerate all the functions that must be addressed in proxy socket interface. -*:convert_ip_to_hostname + +*:is_ipaddr (internet.c) + +It validates whether given IP address is IP address or not. Its implementation is strictly limited to IPv4. I think it is better to code whole new function rather than converting existing function. + +*:convert_ip_to_hostname (condor_netdb.c) This one is little tricky. Given parameter, const char* addr is actually in_addr*. Inside of the function, it explicitly type-cast const char* addr to in_addr*. It calls inet_ntoa and convert every '.' char to '-'.