Swoole\Client::getpeername

Get the remote socket name of the connection.

Description

public array Swoole\Client::getpeername()

Parameters

This function has no parameters.

Return Values

The host and port of the remote socket.