step 5: (next semester) 1: actually populate the condor_hostent and ipaddr classes with ipv6 data. watch what breaks, come up with a plan. ipverify() and many other places in condor which assume 4-byte ip address or 21-byte address strings will need to be updated. + +{subsubsection: Complications} + +There's tricky thing on Phase 1. We decided not to remove struct hostent which is also obsolete. FYI, +struct hostent is returned by gethostbyname() and is used for DNS lookup. + +The newer API for gethostbyname() is getnameinfo(). Indeed, getnameinfo() does not return struct +hostent. Thus, I wrote a wrapper function that returns struct hostent using getnameinfo(). + +The problem is that getnameinfo() does not return exact same information as gethostbyname() returns. +Although getnameinfo() is replacement for gethostbyname(), they behave differently! Alternate +hostname (hostname alias) could be different. I will send you the code that shows different behavior +of gehostbyname() and getnameinfo(). + +I am not sure if it would break the compatibility. We may need to discuss how we can treat semantic +difference of gethostbyname() and getnameinfo().