Solved

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

Posted on 2002-03-18
4
142 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:petershaw8
  • 2
4 Comments
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6876457
Ping the other computer.
0
 

Author Comment

by:petershaw8
ID: 6879502
Hi,
Is there a way in program A ping the other computer and get ping result ?

Peter
0
 
LVL 11

Accepted Solution

by:
robert_marquardt earned 200 total points
ID: 6879593
Get the ICS components from Francois Piette. There is a TPing component.
The Indy components (part of Delphi 6 or http://www.nevrona.com) should also contain a Ping component.
0
 
LVL 2

Expert Comment

by:joepezt
ID: 6879725
Ping would work
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question