I do not think we need any class that encapsulating those BSD socket interfaces. The reason is that I do not change any semantics of BSD socket interface but only syntax. -{subsection: No DNS} -Some of functions already has condor_* replacement. These replacement functions has common structure, "nodns_enabled()". The purpose of these functions should be to support an environment that does not have DNS. +{section: NO_DNS proxy functions} -IPv6 port should work well with nodns option. +In condor_netdb.c, there are already proxy functions. + +{code} +struct hostent * +condor_gethostbyname(const char *name); + +struct hostent * +condor_gethostbyaddr(const char *addr, SOCKET_LENGTH_TYPE len, int type); + +int +condor_gethostname(char *name, size_t namelen); +{endcode} + +Their original function, gethostbyname, gethostbyaddr and gethostname are already obsoletes. + +New proxy functions should care about NO_DNS options as well. And also they should not contain obsolete functions. {section: Converting each socket functions }