Gets the remote address and port associated with the connection

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.

返回值

沒有返回值。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *