Swoole\Client->getpeername

Declaration

<?php
Swoole\Client->getpeername()

Parameters

Return

Description

Get the remote socket name of the connection.

Example

<?php
array('host' => '127.0.0.1', 'port' => 53652)