EventHttpConnection::getPeer
(PECL event >= 1.2.6-beta)
EventHttpConnection::getPeer — Gets the remote address and port associated with the connection
说明
public
EventHttpConnection::getPeer(
string
&$address
,
int
&$port
): voidGets the remote address and port associated with the connection
参数
-
address
-
Address of the peer.
-
port
-
Port of the peer.
返回值
没有返回值。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/eventhttpconnection.getpeer.php