(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalPort — Sets the local port from which connections are made
public EventHttpConnection::setLocalPort ( int $port ) : void
Sets the local port from which connections are made.
port
The port number.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventhttpconnection.setlocalport.php