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