EventHttpConnection::setLocalPort
(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalPort — Sets the local port from which connections are made
Description
public EventHttpConnection::setLocalPort ( int $port ) : void
Sets the local port from which connections are made.
Parameters
-
port
-
The port number.
Return Values
See Also
- EventHttpConnection::setLocalAddress() - Sets the IP address from which HTTP connections are made
© 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