Fastream Technologies wrote:
>> But there's another problem with WSocket_WSAAsyncGetHostByName.
>> AKAIK, this old API doesn't support IPv6. New API GetAddrInfo()
>> handles both IPv4 and IPv6 but it is blocking. Should I try to
>> emulate asynchron lookups using a thread? Ideas are welcome.
>> --
>> Arno Garrels
> Hi Arno,
> As usual, I am against one thread per call approach for the sake of
> scalability. I believe there must be another async way from
> Redmondians. 

It's just used in method DnsLookup, which is not the default 
HostByName-routine. Anyway I'm not aware of a IPv6-capable function
that could be used as a replacement for WSAAsyncGetHostByName(). 

Arno garrels
To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to