Swoole\Client::getpeername

(PECL swoole >= 1.9.0)

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

説明

publicSwoole\Client::getpeername(): array

パラメータ

この関数にはパラメータはありません。

戻り値

The host and port of the remote socket.

To Top