An open API service indexing awesome lists of open source software.

https://github.com/kezhengjie/async_dns_resolver

async_dns_resolver is c++ cross-platform async dns resolve library which provides simple API and designs for high performace and high concurrency scene.Also runtime and thread safe.
https://github.com/kezhengjie/async_dns_resolver

async async-dns c-ares cpp cross-platform dns dns-resolver high-concurrency high-performance simple

Last synced: about 2 months ago
JSON representation

async_dns_resolver is c++ cross-platform async dns resolve library which provides simple API and designs for high performace and high concurrency scene.Also runtime and thread safe.

Awesome Lists containing this project

README

        

# async_dns_resolver
async_dns_resolver is c++ cross-platform async dns resolve library which provides simple API and designs for
high performace and high concurrency scene.Also runtime and thread safe.

## Quick Start
```c++
#include
#include "dns_resolve/dns_resolve.h"

int main(int argc,char**argv)
{
dnsresolve::Resolver resolver;
resolver.AsyncResolve("www.google.com", [&](const dnsresolve::Result& result) -> void {
if (result.HasError()) {
std::cout <