سؤال

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++.

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top