Struct AddrInfoEvent

Synopsis

#include <src/uvw/dns.h>

struct AddrInfoEvent

Description

AddrInfoEvent event.

It will be emitted by GetAddrInfoReq according with its functionalities.

Methods

AddrInfoEvent

Source

Lines 22-34 in src/uvw/dns.h.

struct AddrInfoEvent {
    using Deleter = void(*)(addrinfo *);

    AddrInfoEvent(std::unique_ptr<addrinfo, Deleter> addr);

    /**
     * @brief An initialized instance of `addrinfo`.
     *
     * See [getaddrinfo](http://linux.die.net/man/3/getaddrinfo) for further
     * details.
     */
    std::unique_ptr<addrinfo, Deleter> data;
};





Add Discussion as Guest

Log in