aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dns/thread.h
blob: 06b41d78ced724c1567a49b38aed2cd5a0356491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <util/network/socket.h>

#include <util/generic/string.h>
#include <util/generic/ptr.h>

namespace NDns {
    typedef TAutoPtr<TNetworkAddress> TNetworkAddressPtr;

    TNetworkAddressPtr ThreadedResolve(const TString& host, ui16 port);
}