PHP - Manual: EventHttpConnection::setLocalPort
2024-12-22
(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalPort — Sets the local port from which connections are made
$port
): voidSets the local port from which connections are made.
port
The port number.
官方地址:https://www.php.net/manual/en/eventhttpconnection.setlocalport.php