7 std::vector<fc::ip::endpoint>
resolve(
const std::string& host, uint16_t port )
10 std::vector<fc::ip::endpoint> eps;
11 eps.reserve(ep.size());
12 for(
auto itr = ep.begin(); itr != ep.end(); ++itr )
14 if( itr->address().is_v4() )
16 eps.push_back(
fc::ip::endpoint(itr->address().to_v4().to_ulong(), itr->port()) );