gethostbyname() blocks

gethostbyname function taks LONG time to return if it can’t resolve the
name, is there a way to timeout this???

Could you post “getconf CS_RESOLVE”, and "ping " where is your DNS
server
in the “CS_RESOLVE” output.

-xtang

Ran Zhang <rzhang@vamcointernational.com> wrote in message
news:ct37e5$7o0$1@inn.qnx.com

gethostbyname function taks LONG time to return if it can’t resolve the
name, is there a way to timeout this???