#include <AsyncResolverGetHostByName.h>
Inheritance diagram for OW32::CAsyncResolverGetHostByName:
Public Member Functions | |
CAsyncResolverGetHostByName (CAsyncResolver *pParent, CAsyncResolverHostCallback *pCallback, void *callbackContext=NULL) | |
Construct a new gethostbyname query. | |
void | gethostbyname (const char *name, int family) |
Resolve a name. | |
virtual void | OnAnswer (void *context, AsyncResolverError status, unsigned char *abuf, size_t alen) |
Called by the resolver when an answer is received. |
Must be allocated on the heap.
|
Construct a new gethostbyname query.
|
|
Resolve a name. Only IPv4 addresses are supported at present.
|
|
Called by the resolver when an answer is received.
Implements OW32::CAsyncResolverCallback. |