On Wed, 5 Mar 2003 01:32:43 +0900, Seth Kurtzberg wrote:
>  Again there is no delay when used in a tool or in programs in
>  other languages.  Most likely this difference occurs because these
>  other tools and programs don't use the getaddrinfo() call.

Is it possible that the hosts in question have IPv6 addresses, and the
delay is actually in (erroneously) trying to use IPv6 on a system
which has only a valid IPv4 interface?  (I ask this because
getaddrinfo can return IPv6 records, whereas gethostbyname et al.
cannot.)

Have you taken a packet dump of this to see what your host is actually
doing?

Ethan

-- 
Happiness is a belt-fed weapon.