Arno Garrels wrote:

So multiple calls to DnsLookup from the same thread context are
serialized.


In other words, DnsLookup always returns immediately, however
Win32 API WSAAsyncGetHostByName serializes multiple requests from
the same thread context internally. This may trigger OnDnsLookupDone delayed but does not block a
thread.

A workaround was to write your own name resolution that uses multiple threads.

Thank you Arno

Now I understand the structure better

But, in any case, the thread should not block in my software right?

Eric --
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to