EventHttpConnection::setLocalAddress
(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections are made
說明
public EventHttpConnection::setLocalAddress( string
$address ): voidSets the IP address from which http connections are made.
參數
-
address The IP address from which HTTP connections are made.
返回值
沒有返回值。
參見
- EventHttpConnection::setLocalPort() - Sets the local port from which connections are made