Solved

Timeout Period for WSAAsynGetHostByName

Posted on 1997-10-20
4
209 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?
0
Comment
Question by:xen15
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
vinniew earned 200 total points
ID: 1407711
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

0
 

Author Comment

by:xen15
ID: 1407712
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?
0
 
LVL 3

Expert Comment

by:vinniew
ID: 1407713
On which platform?

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

0
 

Author Comment

by:xen15
ID: 1407714
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?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video discusses moving either the default database or any database to a new volume.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now