Check computer availability over network 
Author Message
 Check computer availability over network

Hello,
I am trying to mak a program that checks computer availability.  I tried
using a ping application, but when the computer is offline it takes more
than 30 seconds for the ping application to return a result (I guess due to
DNS).
Is there another possibility?  You know MS SQL Server which has the green
arrow when the server is online?  When the server goes offline or there is
no network, within a few secons you get a red square (stop).  This is the
kind of application I am trying to create.
If you could make any suggestions, please do so.
Thanks,
Geert


Sat, 27 Dec 2003 22:18:49 GMT  
 Check computer availability over network
Take a look at this code for a ping:

http://groups.google.com/groups?hl=en&safe=off&ic=1&th=2468fe4eade11f...

and reduce the timeout to whatever your liking...

If you're having problem on the "name resolution" side of things, you
could perhaps take a look at these registry keys which should reduce
the time it takes for tcp to fail off:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

DWORD Values:
TcpMaxConnectAttempts = 1
TcpMaxConnectRetransmissions = 0

Good Luck,

-Mike

Quote:

> Hello,
> I am trying to mak a program that checks computer availability.  I tried
> using a ping application, but when the computer is offline it takes more
> than 30 seconds for the ping application to return a result (I guess due to
> DNS).
> Is there another possibility?  You know MS SQL Server which has the green
> arrow when the server is online?  When the server goes offline or there is
> no network, within a few secons you get a red square (stop).  This is the
> kind of application I am trying to create.
> If you could make any suggestions, please do so.
> Thanks,
> Geert



Sun, 28 Dec 2003 21:15:06 GMT  
 Check computer availability over network
check out www.vbcode.com
and www.vbaccelerator.com for ping
sounds like you need to reduce the Time To Live of the ping.


Thu, 15 Jan 2004 21:52:58 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. DCOM remote computer availability check

2. How can I check the availability of a network share through Visual Basic code

3. Check to see which computers on the network are available

4. Checking Memory Availability.

5. How do i check for the availability of a network path ?

6. Check Access at start of computer

7. Checking Computer Inactivity

8. Checking Group Membership for a Computer

9. How to check Computer Speed?

10. how to check if computer has web access?

11. How to check Computer Speed?

12. X O X - How Check the movement of Computer

 

 
Powered by phpBB® Forum Software