OpenSwoole\Client->getpeername

Latest version: pecl install openswoole-26.11.1 | composer require openswoole/core:26.11.1

Declaration

<?php OpenSwoole\Client->getpeername()

Parameters

Return

Description

Get the remote socket name of the connection.

Example

<?php
array('host' => '127.0.0.1', 'port' => 53652)
Last updated on September 1, 2022