« Swoole\Client::__destruct
Swoole\Client::getsockname »

Swoole\Client::getpeername

(PECL swoole >= 1.9.0)

Swoole\Client::getpeername — Get the remote socket name of the connection.

説明

public function Swoole\Client::getpeername(): array

パラメータ

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

戻り値

The host and port of the remote socket.

関連キーワード:
Swoole   Client   remote   socket   connection   getpeername   destruct   getsockname   swoole   host   port
関連する関数・ページ:
class.swoole-client   swoole-client.getsockname   swoole-client.recv   swoole-client.destruct   swoole-client.sendto   swoole-client.sendfile