array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventhttpconnection.getpeer.php', 1 => 'EventHttpConnection::getPeer', 2 => 'Gets the remote address and port associated with the connection', ), 'up' => array ( 0 => 'class.eventhttpconnection.php', 1 => 'EventHttpConnection', ), 'prev' => array ( 0 => 'eventhttpconnection.getbase.php', 1 => 'EventHttpConnection::getBase', ), 'next' => array ( 0 => 'eventhttpconnection.makerequest.php', 1 => 'EventHttpConnection::makeRequest', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventhttpconnection/getpeer.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventHttpConnection::getPeer

(PECL event >= 1.2.6-beta)

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

Beschreibung

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

Gets the remote address and port associated with the connection

Parameter-Liste

address

Address of the peer.

port

Port of the peer.

Rückgabewerte

Es wird kein Wert zurückgegeben.