Go to the source code of this file.
Classes |
|
class | WaitAnswerData |
class | pos_resolver |
Posadis abstract resolver class. More... |
|
class | pos_cliresolver |
resolver for client applications More... |
|
Defines |
|
#define | Q_DFL 0 |
default flags for the pos_resolver::query function |
|
#define | Q_NOTCP 1 |
'no-tcp' flag for pos_resolver::query |
This file contains the Posadis resolver implementation. It contains the base pos_resolver class, which does not contain the implementation for the resolver. There are two resolver implementations: pos_cliresolver for client programs and pos_srvresolver for server programs.
Definition in file resolver.h.
|
default flags for the pos_resolver::query function This define contains the default flags for the 'flag' parameter of the pos_resolver::query function. This means trying UDP at first, and if the answer is truncated, try TCP next. Definition at line 45 of file resolver.h. |
|
'no-tcp' flag for pos_resolver::query This flag instructs the pos_resolver::query function not to retry the query using TCP if the UDP answer is truncated. This means the answer returned by the function might be truncated, which can be checked by looking at the DnsMessage::TC flag. Definition at line 55 of file resolver.h. |