choose_ipaddr
static in_addr_t choose_ipaddr(in_addr_t **, in_addr_t, in_addr_t);
target_ipaddr = choose_ipaddr((in_addr_t **)hp->h_addr_list,