I have a Windows NT Workstation 4.0 where I use some socket applications. There is WINS configured. The applications call the "gethostbyname()" socket function to discover the addresses of the servers.
Sometimes, the network adapter or the cable can be damaged or disconnected in my environment. When it occurs, my applications wait about 3 minutes blocked in the "gethostbyname()" socket api before the error is detected.
I wouldn't like to replace that api by WSAAsyncGetHostByName( ).
Does it exist a way I could use to reduce that timeout ?
Would it be manageable using registry ?