EventHttpConnection::getPeer

(PECL event >= 1.2.6-beta)

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

说锟斤拷

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

Gets the remote address and port associated with the connection

锟斤拷锟斤拷

address

Address of the peer.

port

Port of the peer.

锟斤拷锟斤拷值

没锟叫凤拷锟斤拷值锟斤拷