EventHttpConnection::setLocalPort

(PECL event >= 1.2.6-beta)

EventHttpConnection::setLocalPortSets 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

© 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