PHP 8.4.2 Released!

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top