Boost C++ Libraries

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

Click here to view the latest version of this page.
PrevUpHomeNext

ip::address::from_string

Create an address from an IPv4 address string in dotted decimal form, or from an IPv6 address in hexadecimal notation.

static address from_string(
    const char * str);

static address from_string(
    const char * str,
    boost::system::error_code & ec);

static address from_string(
    const std::string & str);

static address from_string(
    const std::string & str,
    boost::system::error_code & ec);

PrevUpHomeNext