1. Code Cruncher
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Tasmania, Australia
    Rep Power

    Question How to confirm a computer is available on network?

    Hello all.

    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!
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Woodland Hills, Los Angeles County, California, USA
    Rep Power
    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

IMN logo majestic logo threadwatch logo seochat tools logo