EventHttpConnection
PHP Manual

EventHttpConnection::getPeer

(PECL event >= 1.2.6-beta)

EventHttpConnection::getPeerGets the remote address and port associated with the connection

Описание

public void EventHttpConnection::getPeer ( string &$address , int &$port )

Gets the remote address and port associated with the connection

Список параметров

address

Address of the peer.

port

Port of the peer.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.


EventHttpConnection
PHP Manual