This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gethostbyname


Hello,

I have an embedded ARM application that is linked with libnss_files.so,
libnss_dns.so, and libresolv.so. This application uses gethostbyname() to
resolve names in /etc/hosts or through DNS. If gethostbyname() is called for
a name that the name server cannot resolve, it appears that gethostbyname()
retries several times before it returns to the embedded application.

Is the number of retries configurable?

I am using glibc 2.1.3, can you recommend any specific code that I should be
looking at in the resolv directory to help understand exactly what is
happening?

Thank you,
David


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]