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 long in host byte order.

address_v4 make_address_v4(
    unsigned long 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...

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