util: Use default resolver behavior in util::dns::Resolver

As of this commit, we are using the default behavior of
boost::asio::ip::resolver (only return IPv4 addresses if a non-loopback
IPv4 address is configured for the system; only return IPv6 addresses if
a non-loopback IPv6 address is configured for the system).

Unit tests are now conditioned upon availability of IPv4/IPv6 and will
not fail if IPv4 or IPv6 addresses cannot be resolved.

Change-Id: I8d7fa9a205ad26a2ca85fd22d582ffe6b0a02a92
Refs: #2415
5 files changed
tree: b9f81b7c7f910f06167d151545b794b30cadeb9e
  1. .jenkins.d/
  2. .waf-tools/
  3. docs/
  4. examples/
  5. src/
  6. tests/
  7. tools/
  8. .gitignore
  9. .jenkins
  10. .travis.yml
  11. AUTHORS.md
  12. client.conf.sample
  13. COPYING.md
  14. libndn-cxx.pc.in
  15. README-dev.md
  16. README.md
  17. waf
  18. wscript
README.md

ndn-cxx: NDN C++ library with eXperimental eXtensions

ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:

See the file docs/INSTALL.rst for build and install instructions.

Please submit any bugs or issues to the ndn-cxx issue tracker: http://redmine.named-data.net/projects/ndn-cxx/issues

More documentation

Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/

License

ndn-cxx is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING.md.