From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      4.0.6
PHP Bug Type:     Feature/Change Request
Bug description:  gethostbyname with timeout

gethostbyname can appear to hang indefinitely; I assume that this happens
if the expected DNS responses are not forthcoming. Unfortunately if this
happens in a webpage it can cause a cache or browser timeout, losing the
entire page. A variant of this function with an optional timeout parameter
would solve this problem.
-- 
Edit bug report at: http://bugs.php.net/?id=12773&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to