EventDnsBase::__construct

EventDnsBase::__construct

(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object

Description

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 leaves the event DNS base empty, with no nameservers or options configured. In the latter case DNS base should be configured manually, e.g. with EventDnsBase::parseResolvConf() .

Return Values

Returns EventDnsBase object.

© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/eventdnsbase.construct.php

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部