getdns Functions
PHP Manual

php_getdns_context_process_async

(PECL getdns >= 0.10.0)

php_getdns_context_process_asyncProcess outstanding asynchronous requests.

Description

int php_getdns_context_process_async ( int $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.

Parameters

context

The previously created DNS context that is to be used with this request.

Return Values

This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.


getdns Functions
PHP Manual