(PECL getdns >= 0.10.0)
php_getdns_context_process_async — Process outstanding asynchronous requests.
$context
)This non-blocking function informs the context to process its outstanding requests. Clients should call this when either a timeout has occurred or the file descriptor signals that it is ready. User callbacks are fired during this call.
Note that this function does not work when the getdns library is configured for use as a stub resolver and the libevent extension is being used (as it is with this PHP extension). This function may soon be deprecated in favor of the php_getdns_context_run() function. Clients are advised to use php_getdns_context_run() instead.
context
The previously created DNS context that is to be used with this request.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.