asio C++ library

PrevUpHomeNext

ip::address_v4::make_network_v4

Create an IPv4 network from an address and prefix length.

network_v4 make_network_v4(
    const address_v4 & addr,
    unsigned short prefix_len);
  » more...

Create an IPv4 network from an address and netmask.

network_v4 make_network_v4(
    const address_v4 & addr,
    const address_v4 & mask);
  » more...

PrevUpHomeNext