We help IT Professionals succeed at work.

Timeout Period for WSAAsynGetHostByName

xen15
xen15 asked
on
Medium Priority
249 Views
Last Modified: 2013-12-03
Using the asynchronous name resolution for the Winsock library "WSAAsyncGetHostByName" is there a maximum timeout for when the callback will happen if the name has not been successfully resolved and the resolver fails? Is this determined by the implementation of the local resolver/stack?
Comment
Watch Question

Commented:
I want to say that with all Async... calls, the timeout is the same and is kept in the registry( in NT 3.51 for sure, 4.0 server, too).

Since these values are kept in the MSTCP portion of the registry and not in a system key, a different stack would control them locally as well.

Hope this helps,

V

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Do you know how to decode the values in the MSTCP registry key to see what the timings are: I imagine you refer to the HKEY_LOCAL_MACHINE...\Bindings\ConfigFlags key?

Commented:
On which platform?

NTWS 4.0, WIN94 don't have the settings.  NT 3.51, NT Server 4.0 do.

Author

Commented:
I found the above key on Win95. I couldn't find it in NTWS4.0
I'm also interested in Win 3.11, obviously this wouldn't be a registry key though, is there an ini file setting?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.