June 29th, 2004, 06:51 PM
How to confirm a computer is available on network?
My program uses a Firebird DB server, and I would like to check the network to see if the server computer is present before launching my connection. This would enable me to report errors more effectively to the user. Instead of just saying that the database connection failed, I could say that the network connection to the DB server computer is not available.
The FB Server could be runnig on any computer (including linux) and there may not even be any shared folders on it. FB Srever uses TCPIP so I suspect the solution would have to be TCPIP related? Is there a way Delphi6 can ping the server to confirm it is there?
Thankyou for your help.
Beware of a programmer with a screwdriver!
June 29th, 2004, 06:58 PM
The ICS component suite from www.overbyte.be comes with a ping component. Also, his component set has the advantage of being free .
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo