Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [swoole_async_dns_lookup]

Protect Your Website Today


PHP Manual || Swoole Functions

(PECL swoole >= 1.9.0)

swoole_async_dns_lookupAsync and non-blocking hostname to IP lookup

Description

swoole_async_dns_lookup ( string $hostname , callable $callback ) : bool

Parameters

hostname

The host name.

callback
callback ( string $hostname , string $ip ) : mixed
hostname

The host name.

IP

The IP address.

Return Values

Returns TRUE on success or FALSE on failure.



PHP Manual || Swoole Functions