InspIRCd
2.0
|
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 |
DNS * | dnsobj |
unsigned long | ttl |
std::string | orig |
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