EventHttpConnection
PHP 手册

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 手册