PHP - Manual: EventHttpConnection::getPeer
2024-11-13
(PECL event >= 1.2.6-beta)
EventHttpConnection::getPeer — Gets the remote address and port associated with the connection
&$address
,
int
&$port
): voidGets the remote address and port associated with the connection
address
Address of the peer.
port
Port of the peer.
没有返回值。
官方地址:https://www.php.net/manual/en/eventhttpconnection.getpeer.php