question: converts an address from its string representation to an ip address in a particular family . 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 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 addrFromRecord concode_elem_sep String toDottedQuad concode_elem_sep String toDottedQuad
target: InetAddress function ( String arg0 , int arg1 ) { if ( arg1 != IPv4 && arg1 != IPv6 ) throw new IllegalArgumentException ( "srini_string" ) ; byte [ ] loc0 ; loc0 = toByteArray ( arg0 , arg1 ) ; if ( loc0 != null ) return InetAddress . getByAddress ( arg0 , loc0 ) ; throw new UnknownHostException ( "srini_string" + arg0 ) ; }