38 void Callback(
int a_ErrCode,
struct addrinfo * a_Addr);
std::vector< cHostnameLookupPtr > cHostnameLookupPtrs
std::shared_ptr< cHostnameLookup > cHostnameLookupPtr
Holds information about an in-progress Hostname-to-IP lookup.
cHostnameLookup(const AString &a_Hostname, cNetwork::cResolveNameCallbacksPtr a_Callbacks)
Creates the lookup object.
static void Lookup(const AString &a_Hostname, cNetwork::cResolveNameCallbacksPtr a_Callbacks)
Creates a lookup object and schedules the lookup.
AString m_Hostname
The hostname that was queried (needed for the callbacks).
cNetwork::cResolveNameCallbacksPtr m_Callbacks
The callbacks to call for resolved names / errors.
void Callback(int a_ErrCode, struct addrinfo *a_Addr)
std::shared_ptr< cResolveNameCallbacks > cResolveNameCallbacksPtr