Solved

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

Posted on 2002-03-18
4
139 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now