EventHttpConnection::setLocalPort
(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalPort — Sets the local port from which connections are made
说明
public
EventHttpConnection::setLocalPort
(
int
$port
) : voidSets the local port from which connections are made.
参数
-
port
-
The port number.
返回值
参见
- EventHttpConnection::setLocalAddress() - Sets the IP address from which HTTP connections are made