Constructs EventDnsBase object

EventDnsBase::__construct

(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object

說明

public EventDnsBase::__construct( EventBase $base , bool $initialize )

Constructs EventDnsBase object.

參數

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() .

返回值

Returns EventDnsBase object.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *