Ping to SQL Server 
Author Message
 Ping to SQL Server

I am modifying existing application for remote access which uses
CT Library to access SQL Server.
We have set timeout for remote access. If there is no activity
for n minits, the link is dropped. If new request is made, then
attempt is made to establish the link and then send the packet.
When application attempts to send the request while link is
dropped, the processor is hold up by CT Lib call. So there is no
chance for remote access software to reactivate the link.

What are my alternatives to avoid this Catch-22 situation.

Can I ping the server before sending the request. If ping
returns success, then send the request. If not then wait for
some time (to allow for reactivating the link) and try again.
How can I ping the server from VB Application?


- Anant

Tue, 27 Oct 1998 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. how to store the results of ping into sql server

2. sql server connect. Migration Access->sql server

3. Can not find SQL Server (I'm not using SQL Server)

4. sql server connect. Migration Access->sql server

5. sql server connect. Migration Access->sql server

6. VB Sql Server Via ADO Problem: [Microsoft][ODBC Sql Server Driver]

7. VB6 application using SQL Server 2000 migrating db to SQL Server 2

8. Ping server and see the response in ms.

9. PING, Is there an API (or other method) to call ping from VB

10. ping to check response time of servers

11. PINGing internet server

12. Using Vbscript and SQL-DMO to connect to SQL Server and run a T-SQL script


Powered by phpBB® Forum Software