Swoole\Client::getpeername
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Get the remote socket name of the connection.
Description
Swoole\Client::getpeername(): array
Parameters Parameters
Return Values
The host and port of the remote socket.