ipaddress types and conversions