|
join 1.0
lightweight network framework library
|
#include <join/resolver.hpp>#include <join/version.hpp>#include <join/error.hpp>#include <iostream>#include <string>#include <unistd.h>
Functions | |
| void | version () |
| void | usage () |
| void | onSuccess (const DnsPacket &packet) |
| void | onFailure (const DnsPacket &packet) |
| template<typename Resolver > | |
| int | lookup (Resolver &&resolver, const std::string &name, const std::string &type, std::chrono::milliseconds timeout) |
| int | main (int argc, char *argv[]) |
| int lookup | ( | Resolver && | resolver, |
| const std::string & | name, | ||
| const std::string & | type, | ||
| std::chrono::milliseconds | timeout ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
| void onFailure | ( | const DnsPacket & | packet | ) |
| void onSuccess | ( | const DnsPacket & | packet | ) |
| void usage | ( | ) |
| void version | ( | ) |