28 #ifndef NDN_NET_ADDRESS_CONVERTER_HPP 29 #define NDN_NET_ADDRESS_CONVERTER_HPP 31 #include "../common.hpp" 33 #include <boost/asio/ip/address.hpp> 34 #include <boost/system/error_code.hpp> 55 boost::asio::ip::address
67 boost::asio::ip::address
78 boost::asio::ip::address_v6
90 boost::asio::ip::address_v6
96 #endif // NDN_NET_ADDRESS_CONVERTER_HPP Copyright (c) 2013-2017 Regents of the University of California.
boost::asio::ip::address addressFromString(const std::string &address, boost::system::error_code &ec)
parse and convert the input string into an IP address
boost::asio::ip::address_v6 addressV6FromString(const std::string &address, boost::system::error_code &ec)
parse and convert the input string into an IPv6 address
optional< std::string > scopeNameFromId(unsigned int scopeId)
Convert scope ID of IPv6 address into interface name.