EventHttpConnection
PHP Manual

EventHttpConnection::setLocalPort

(PECL event >= 1.2.6-beta)

EventHttpConnection::setLocalPortSets the local port from which connections are made

说明

public void EventHttpConnection::setLocalPort ( int $port )

Sets the local port from which connections are made.

参数

port

The port number.

返回值

参见


EventHttpConnection
PHP Manual