EventHttp::bind
EventHttp::bind
(PECL event >= 1.2.6-beta)
EventHttp::bind — Binds an HTTP server on the specified address and port
Description
public void EventHttp::bind ( string $address , int $port )
Binds an HTTP server on the specified address and port.
Can be called multiple times to bind the same HTTP server to multiple different ports.
Parameters
-
address
-
A string containing the IP address to listen(2) on.
-
登录查看完整内容