InetVersion (Enum Class)
A value representing a version of the IP protocol.
unknown(0) An unknown or unspecified version of the IPprotocol.
ipv4(1) The IPv4 protocol as defined in RFC 791 (STD 5).
ipv6(2) The IPv6 protocol as defined in RFC 2460.
Note that this textual convention SHOULD NOT be used to
distinguish different address types associated with IP
protocols. The InetAddressType has been designed for this
unknown = 0
ipv4 = 1
ipv6 = 2