{subsection: condor_netaddr} =condor_netaddr= exists to encapsulate the idea of a subset. It's built on top of condor_sockaddr, adding a count for how many bits to mask off. At the moment it's only being used to validate that a subset string can be parsed, but should eventually be used in any situation where Condor is checking that a given address is within a given subset (ie security). + + +{section: Notes} +{code} +/condor_includes/ipv6_hostname.h +- Getting hostnames and condor_sockaddrs. +- get_hostname/get_hostname_with_alias - condor_sockaddr -> MyString +- resolve_hostname - MyString -> vector<condor_sockaddr> + - Note that it returns a list. They're all "correct." If you're trying to connect to the hostname, you must try them all, in order, until you succeed or you run out of options. + +./src/condor_includes/condor_sockfunc.h +- Use the condor_ wrappers (condor_accept, condor_bind, condor_inet_pton, etc) which take condor_sockaddrs. +{endcode}