(PECL swoole >= 1.9.0)
Swoole\Client::getpeername — Get the remote socket name of the connection.
This function has no parameters.
The host and port of the remote socket.