// JP opened flex table

Click to See Complete Forum and Search --> : Machine status


maya123
February 15th, 2007, 02:45 PM
How do I check if a machine is up or not using the Windows Api calls?

ahoodin
February 15th, 2007, 02:58 PM
Well probably u should use winsock2. I am assuming your talking about a remote machine.

If the machine is on a network, you could either:

1. Send a network message to the machine such as a ping or custom deal.
(Keep alive packets are slow)

2. Wait for a response that will be sent by an application periodically. If you havent gotten one in say 5 minutes or whatever period, assume it is down.

HTH,

ahoodin

golanshahar
February 15th, 2007, 04:07 PM
How do I check if a machine is up or not using the Windows Api calls?

Please explain what do you mean with "machine is up". :confused:

Cheers

MrViggy
February 15th, 2007, 04:37 PM
Please explain what do you mean with "machine is up". :confused:

Cheers
You know, like if it's on a table or desk, instead of the floor.

:D

Viggy

//JP added flex table