Php/docs/swoole-client.getpeername

提供:Dev Guides
< Php
移動先:案内検索

Swoole\Client::getpeername

(PECL swoole >= 1.9.0)

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


説明

public Swoole\Client::getpeername ( ) : array

パラメータ

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


返り値

The host and port of the remote socket.