EventHttp::addServerAlias

(PECL event >= 1.4.0-beta) Adds a server alias to the HTTP server object public bool EventHttp::addServerAlias ( string $alias ) Adds a server alias to the HTTP server object. Parameters: alias The alias to add. Returns: Returns TRUE on success. Otherwise FALSE. Examples: EventHtt

EventHttp::accept

(PECL event >= 1.2.6-beta) Makes an HTTP server accept connections on the specified socket stream or resource public bool EventHttp::accept ( mixed $socket ) Makes an HTTP server accept connections on the specified socket stream or resource. The socket should be ready to accept connections. Can be called multiple times to accept connections on different sockets. Note: To bind a socket, listen , and accept connecti

EventDnsBase::setSearchNdots

(PECL event >= 1.2.6-beta) Set the 'ndots' parameter for searches public bool EventDnsBase::setSearchNdots ( int $ndots ) Set the 'ndots' parameter for searches. Sets the number of dots which, when found in a name, causes the first query to be without any search domain. Parameters: ndots The number of dots. Returns: Returns TRUE on success. O

EventDnsBase::setOption

(PECL event >= 1.2.6-beta) Set the value of a configuration option public bool EventDnsBase::setOption ( string $option , string $value ) Set the value of a configuration option. Parameters: option The currently available configuration options are: "ndots" , "timeout" , "max-timeouts" , "max-inflight" , and "attempts" . value Option

EventDnsBase::parseResolvConf

(PECL event >= 1.2.6-beta) Scans the resolv.conf-formatted file public bool EventDnsBase::parseResolvConf ( int $flags , string $filename ) Scans the resolv.conf-formatted file stored in filename, and read in all the options from it that are listed in flags Parameters: flags Determines what information is parsed from the resolv.conf file. See the man page for resolv.c

EventDnsBase::loadHosts

(PECL event >= 1.2.6-beta) Loads a hosts file (in the same format as /etc/hosts) from hosts file public bool EventDnsBase::loadHosts ( string $hosts ) Loads a hosts file (in the same format as /etc/hosts ) from hosts file. Parameters: hosts Path to the hosts' file. Returns: Returns TRUE on success. Otherwise FALSE.

EventDnsBase::countNameservers

(PECL event >= 1.2.6-beta) Gets the number of configured nameservers public int EventDnsBase::countNameservers ( void ) Gets the number of configured nameservers Returns: Returns the number of configured nameservers(not necessarily the number of running nameservers). This is useful for double-checking whether our calls to the various nameserver configuration functions have been successful.

EventDnsBase::__construct

(PECL event >= 1.2.6-beta) Constructs EventDnsBase object public EventDnsBase::__construct ( EventBase $base , bool $initialize ) Constructs EventDnsBase object. Parameters: base Event base. initialize If the initialize argument is TRUE, it tries to configure the DNS base sensibly given your operating system’s default. Otherwise, it

EventDnsBase::clearSearch

(PECL event >= 1.2.6-beta) Removes all current search suffixes public void EventDnsBase::clearSearch ( void ) Removes all current search suffixes from the DNS base; the EventDnsBase::addSearch() function adds a suffix. Returns: No value is returned. See also: EventDnsBase::addSearch() -

EventDnsBase::addSearch

(PECL event >= 1.2.6-beta) Adds a domain to the list of search domains public void EventDnsBase::addSearch ( string $domain ) Adds a domain to the list of search domains Parameters: domain Search domain. Returns: No value is returned.