#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string>
Include dependency graph for dns.h:
Go to the source code of this file.
Classes | |
struct | dns_ip4list |
class | DNS |
The DNS class allows fast nonblocking resolution of hostnames and ip addresses. More... | |
Functions | |
void * | dns_task (void *arg) |
This is the handler function for multi-threaded DNS. |
|
This is the handler function for multi-threaded DNS. It cannot be a class member as pthread will not let us create a thread whos handler function is a member of a class (ugh). |