| Home | Libraries | People | FAQ | More

#### 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);