Struct NameInfoEvent

Synopsis

#include <src/uvw/dns.h>

struct NameInfoEvent

Description

NameInfoEvent event.

It will be emitted by GetNameInfoReq according with its functionalities.

Methods

NameInfoEvent

Source

Lines 42-60 in src/uvw/dns.h.

struct NameInfoEvent {
    NameInfoEvent(const char *host, const char *serv);

    /**
     * @brief A valid hostname.
     *
     * See [getnameinfo](http://linux.die.net/man/3/getnameinfo) for further
     * details.
     */
    const char * hostname;

    /**
     * @brief A valid service name.
     *
     * See [getnameinfo](http://linux.die.net/man/3/getnameinfo) for further
     * details.
     */
    const char * service;
};





Add Discussion as Guest

Log in