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