PHP 8.4.0 RC4 available for testing

Swoole\Async::dnsLookup

(PECL swoole >= 1.9.0)

Swoole\Async::dnsLookupAsync and non-blocking hostname to IP lookup.

Descripción

public static Swoole\Async::dnsLookup(string $hostname, callable $callback): void

Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

hostname

The host name.

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

The host name.

IP

The IP address.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top