Additionally, does getaddrinfo() have any type of timeout checks involved. Probably this is causing the timeout while calling NIS. Just speculating at this point as im not sure of the reasons behind this behaviour. On Mon, 27 Sep 2004 13:50:49 +0530, vaidya <vaidya.sn@gmail.com> wrote: > Hi, > > I'm facing a time-out issue while using getaddrinfo(). > > Initially my application used gethostbyname() to get fully qualified > domain name. Now, it has been replaced by getaddrinfo(). ( Reason : to > support ipv6 addresses in the application. ) > > The original time-out value has been retained. > > I learnt from sm research that getaddrinfo() apparantly takes a longer > time to return. > > Could you please provide me with further detailed explanation as to > how and why getaddrinfo takes longer time to return. Is there anyway I > can continue with my present time-out value and still support ipv6 > addresses. > > Thanks n regards > > Vaidya > -- Vaidya SN Office : Oracle India Pvt. Ltd. 5A 133, Lexington Towers Prestige St John's Woods #18 ; 2nd Cross Road Chikka Audugodi Bangalore - 560029 Ph: +91 80 510-86122 Residence : #65 NAL Layout East End Main Road Jayanagar 4 ' T ' Block Bangalore - 560041 Mobile : +91 98867 60790 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html