Solved

Timeout Period for WSAAsynGetHostByName

Posted on 1997-10-20
4
210 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA Import all database objects 12 45
mixing C++ & C# in Vis Studio 2013 7 141
dialer.exe 4 58
Problem to file 3 67
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

15 Experts available now in Live!

Get 1:1 Help Now