PHP - Manual: Swoole\Client::getpeername
2024-11-15
(PECL swoole >= 1.9.0)
Swoole\Client::getpeername — Get the remote socket name of the connection.
此函数没有参数。
The host and port of the remote socket.
官方地址:https://www.php.net/manual/en/swoole-client.getpeername.php