Solved

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

Posted on 2002-03-18
4
138 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
Comment Utility
Ping the other computer.
0
 

Author Comment

by:petershaw8
Comment Utility
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
Comment Utility
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
Comment Utility
Ping would work
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

6 Experts available now in Live!

Get 1:1 Help Now