#include <dns_resolver.h>
Public Types | |
| enum | Status { status_success, status_name_not_found, status_data_not_found, status_timeout, status_error } |
| Operations:. More... | |
Public Member Functions | |
| CL_DNSResolver () | |
| Construction:. | |
| ~CL_DNSResolver () | |
| Status | lookup_resource (const CL_String &domain_name, const CL_String &resource_type, std::vector< CL_DNSResourceRecord > &out_records, int timeout=10000) |
Private Member Functions | |
| Status | perform_query (const CL_String &domain_name, const CL_String &resource_type, std::vector< CL_DNSResourceRecord > &out_answer, std::vector< CL_DNSResourceRecord > &out_authority, std::vector< CL_DNSResourceRecord > &out_additional, int timeout, const CL_String &dns_server_name) |
| Implementation:. | |
| bool | read_record (CL_ByteArray &packet, int &pos, CL_DNSResourceRecord &out_record) |
Private Attributes | |
| int | next_query_id |
|
|
Operations:.
Definition at line 50 of file dns_resolver.h. |
|
|
Construction:.
Definition at line 41 of file dns_resolver.cpp. |
|
|
Definition at line 46 of file dns_resolver.cpp. |
|
||||||||||||||||||||
|
Definition at line 57 of file dns_resolver.cpp. References CL_String, perform_query(), status_data_not_found, status_error, and TEXT. |
|
||||||||||||||||||||||||||||||||
|
||||||||||||||||
|
Definition at line 354 of file dns_resolver.cpp. Referenced by perform_query(). |
|
|
Definition at line 78 of file dns_resolver.h. Referenced by perform_query(). |
1.4.1