Swoole\Client::getpeername

(PECL swoole >= 1.9.0)

Swoole\Client::getpeernameGet the remote socket name of the connection.

Descripción

publicSwoole\Client::getpeername(): array

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The host and port of the remote socket.

To Top