PHP - Manual: EventHttpConnection::getPeer
2025-02-27
(PECL event >= 1.2.6-beta)
EventHttpConnection::getPeer — Gets the remote address and port associated with the connection
Gets 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