Return the IPAddressV4 representation of the address, converting from V6 to V4 if needed.
Declared in <folly/IPAddress.h>
<folly/IPAddress.h>
static IPAddressV4 createIPv4(IPAddress const& addr);
Throws IPAddressFormatException if the V6 Address is not IPv4 mapped.
IPAddressFormatException
The IPAddressV4 representation of addr.
addr