Joshua
Joshua

Reputation: 1208

How do you asynchronously resolve host names to IP addresses?

How do you asynchronously resolve host names to IP addresses, preferably with overlapped I/O? GetAddrInfoEx does not support overlapped I/O in Windows 7 and earlier.

I am using native C++.

Upvotes: 2

Views: 688

Answers (2)

CodeAngry
CodeAngry

Reputation: 12995

For the record, this can be done natively on Windows 7, like this:

The side effect of this technique is that it's by no means a feat for a novice to easily pull.

Upvotes: 2

Alnitak
Alnitak

Reputation: 339916

libunbound has an asynchronous resolver in it.

Upvotes: 2

Related Questions