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