(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
swoole_async_dns_lookup — Async and non-blocking hostname to IP lookup
hostnameThe host name.
callbackhostnameThe host name.
IPThe IP address.
Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.