Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 151
URL for downloading Google Chrome for Win XP 2 187
FMX and jaudiotracker playing memory stream 29 87
Drag & Drop... Data from one grid to another 2 42
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

829 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