InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
DNSRequest Class Reference

Public Member Functions

 DNSRequest (DNS *dns, int id, const std::string &original)
 
DNSInfo ResultIsReady (DNSHeader &h, unsigned length)
 
int SendRequests (const DNSHeader *header, const int length, QueryType qt)
 

Public Attributes

unsigned char id [2]
 
unsigned char * res
 
unsigned int rr_class
 
QueryType type
 
DNSdnsobj
 
unsigned long ttl
 
std::string orig
 

Member Function Documentation

DNSInfo DNSRequest::ResultIsReady ( DNSHeader header,
unsigned  length 
)

A result is ready, process it

int DNSRequest::SendRequests ( const DNSHeader header,
const int  length,
QueryType  qt 
)

Send requests we have previously built down the UDP socket


The documentation for this class was generated from the following file: