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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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