asio C++ library

PrevUpHomeNext

ip::address_v4::make_address_v4

Create an IPv4 address from raw bytes in network order.

address_v4 make_address_v4(
    const address_v4::bytes_type & bytes);
  » more...

Create an IPv4 address from an unsigned integer in host byte order.

address_v4 make_address_v4(
    address_v4::uint_type addr);
  » more...

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

address_v4 make_address_v4(
    const char * str);
  » more...

address_v4 make_address_v4(
    const char * str,
    asio::error_code & ec);
  » more...

address_v4 make_address_v4(
    const std::string & str);
  » more...

address_v4 make_address_v4(
    const std::string & str,
    asio::error_code & ec);
  » more...

address_v4 make_address_v4(
    string_view str);
  » more...

address_v4 make_address_v4(
    string_view str,
    asio::error_code & ec);
  » more...

Create an IPv4 address from a IPv4-mapped IPv6 address.

address_v4 make_address_v4(
    v4_mapped_t ,
    const address_v6 & v6_addr);
  » more...

PrevUpHomeNext