Solved

Timeout Period for WSAAsynGetHostByName

Posted on 1997-10-20
4
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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