int function ( int arg0 ) { if ( arg0 == IPv4 ) return 4 ; if ( arg0 == IPv6 ) return 16 ; throw new IllegalArgumentException ( "srini_string" ) ; }
returns the length of an address in a particular family . concode_field_sep int IPv6 concode_elem_sep int IPv4 concode_field_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 int familyOf 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