General information
Category:
Windows API functions
Title:
Reducing LAN connection timeout
I'm writing a submodule to monitor the connection to sql server in a preset timing.
As i reduce the sql connection timeout to 1 second, i can quickly know whether the sql server is online or offline. However, if i pull out the LAN cable, the program will takes forever to return.
I guess the LAN connection timeout is set too long. Is there a way to reduce it?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only