« Swoole\Client::getpeername
Swoole\Client::isConnected »

Swoole\Client::getsockname

(PECL swoole >= 1.9.0)

Swoole\Client::getsockname — Get the local socket name of the connection.

説明

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

パラメータ

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

戻り値

The host and port of the local socket.

関連キーワード:
Swoole   Client   local   socket   connection   getsockname   getpeername   isConnected   swoole   host   port
関連する関数・ページ:
swoole-client.getpeername   class.swoole-client   swoole-client.isconnected   swoole-client.destruct   swoole-client.close   swoole-client.set