Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

ip::address_v4::make_address_v4 (8 of 9 overloads)

Create an IPv4 address from an IP address string in dotted decimal form.

address_v4 make_address_v4(
    string_view str,
    boost::system::error_code & ec);