fc22c4663e
send_to_kdc.c will try the kerberos4 port first, and then the kerberos port. send_to_kdc.c will connect() to the socket so that it retries quickly if it gets a port unreachable message. Also, don't rely on select() not modifying the timeout parameter.