asio C++ library

PrevUpHomeNext

ip::address_v4::netmask

Obtain the netmask that corresponds to the address, based on its address class.

static address_v4 netmask(
    const address_v4 & addr);

PrevUpHomeNext