int function ( InetAddress arg0 ) { if ( arg0 instanceof Inet4Address ) return IPv4 ; if ( arg0 instanceof Inet6Address ) return IPv6 ; throw new IllegalArgumentException ( "srini_string" ) ; }
returns the family of an inetaddress . concode_field_sep int IPv6 concode_elem_sep int IPv4 concode_field_sep int addressLength concode_elem_sep Record[] lookupHostName concode_elem_sep InetAddress[] getAllByName concode_elem_sep String getHostName concode_elem_sep byte[] parseV4 concode_elem_sep byte[] parseV6 concode_elem_sep InetAddress truncate concode_elem_sep byte[] toByteArray concode_elem_sep int[] toArray concode_elem_sep int[] toArray concode_elem_sep boolean isDottedQuad concode_elem_sep InetAddress getByName concode_elem_sep InetAddress getByAddress concode_elem_sep InetAddress getByAddress concode_elem_sep InetAddress addrFromRecord concode_elem_sep String toDottedQuad concode_elem_sep String toDottedQuad