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> 47 [[deprecated(
"use boost::asio::ip::address::from_string")]]
48 boost::asio::ip::address
60 [[deprecated(
"use boost::asio::ip::address::from_string")]]
61 boost::asio::ip::address
72 [[deprecated(
"use boost::asio::ip::address_v6::from_string")]]
73 boost::asio::ip::address_v6
85 [[deprecated(
"use boost::asio::ip::address_v6::from_string")]]
86 boost::asio::ip::address_v6
92 #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