Swoole\Client::getpeername
(PECL swoole >= 1.9.0)
Swoole\Client::getpeername — Get the remote socket name of the connection.
Parameters
This function has no parameters.
Return Values
The host and port of the remote socket.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
