(PECL getdns >= 0.10.0)
php_getdns_context_get_limit_outstanding_queries — Get the limit for the number of oustanding queries.
$context
, int &$value
)This function gets the current upper limit on the number of outstanding DNS queries. The getdns library will block itself from sending more queries if it is about to exceed this value, and instead keep those queries in an internal queue.
context
The previously created DNS context that is to be used with this request.
value
An integer value between 0 and 65535 inclusive that represents the upper limit on the number of outstanding DNS queries. A value of 0 (zero) indicates that no limit is set. Note that this argument is passed by reference and any existing value will be overwritten.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.