Re: [twsocket] DNS Problem

2010-08-07 Thread Arno Garrels
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 OnDnsLookupDon

Re: [twsocket] DNS Problem

2010-08-07 Thread Arno Garrels
Eric, > I have several instances (More than 20) of TWSocket (TCP Client), > running all on the same thread (Secondary thread, not main thread). > > Each instance will connect to a different DNS address from dyndns.org > > Sometimes, several addresses are offline, or even the internet > connect