37#ifndef ASYNC_DNS_LOOKUP_INCLUDED
38#define ASYNC_DNS_LOOKUP_INCLUDED
47#include <sigc++/sigc++.h>
138 const std::string &
label(
void)
const {
return m_label; }
168 DnsLookupWorker * m_worker;
170 bool m_results_ready;
172 void onResultsReady(
void);
Platform independent representation of an IP address.
A class for performing asynchronous DNS lookups.
bool resultsAreReady(void)
Check if the DNS lookup is done or not.
~DnsLookup(void)
Destructor.
DnsLookup(const std::string &label)
Constructor.
const std::string & label(void) const
Return the associated label.
std::vector< IpAddress > addresses(void)
Return the addresses for the host in the query.
sigc::signal< void, DnsLookup & > resultsReady
A signal to indicate that the query has been completed.
Namespace for the asynchronous programming classes.