Link to home
Start Free TrialLog in
Avatar of petershaw8
petershaw8

asked on

How can I know a remote computer is not power on?

I write a program A which runs on computer A and Program B which runs on computer B. These two grograms uses TCP/IP Sockets to communicate.

If the connection cannot be established, Program A need to know that the problem is program B not running or Computer B not power on (assuming the cable connection and others are not problem).

How can I know the difference?

Peter
Avatar of robert_marquardt
robert_marquardt

Ping the other computer.
Avatar of petershaw8

ASKER

Hi,
Is there a way in program A ping the other computer and get ping result ?

Peter
ASKER CERTIFIED SOLUTION
Avatar of robert_marquardt
robert_marquardt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ping would work