odtone::dns::callback_info
// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/resolver.hpp> struct callback_info { // public data members void * context; std::string name; enum dns_query_type query_type; enum dns_status error; message dns_message; };
Structure that is passed to the applciation callback, which as several information about the query performed.
callback_info
public
public data membersvoid * context;
Context.
std::string name;
Requested host name.
enum dns_query_type query_type;
Query type.
enum dns_status error;
Error type.
message dns_message;
Response DNS message.