array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'swoole-client.getpeername.php', 1 => 'Swoole\\Client::getpeername', 2 => 'Get the remote socket name of the connection.', ), 'up' => array ( 0 => 'class.swoole-client.php', 1 => 'Swoole\\Client', ), 'prev' => array ( 0 => 'swoole-client.destruct.php', 1 => 'Swoole\\Client::__destruct', ), 'next' => array ( 0 => 'swoole-client.getsockname.php', 1 => 'Swoole\\Client::getsockname', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/client/getpeername.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Client::getpeername

(PECL swoole >= 1.9.0)

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

Açıklama

public Swoole\Client::getpeername(): array

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

The host and port of the remote socket.