Eric Fleming Bonilha wrote:
>> 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?

Correct, the calling thread won't be blocked.

-- 
Arno Garrels
--
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