Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detect Dropped Network

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
How would i detect if the database connection has been dropped. would i use a network or tcpip connection instead? The time out feature on ADODB connections doesn't seem to work as expected.

Basically I would like to know very quickly if the connection is broken.

Thank you

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
While that may be interesting, I couldn't figure out how it could answer my question.

But yes this is true: "want to time out and raise a flag or whatever when you can't"

thanks

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
<I couldn't figure out how it could answer my question.

Perhaps the answer is that there isn't enough control over the environment to which you're connecting to be able to make an accurate determination of when that connection is broken. If there were, then everyone would be doing it, wouldn't they?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top