Results 1 to 3 of 3

Thread: Code for Pingable or Not

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2012
    Posts
    3

    Code for Pingable or Not

    Hi All,

    Actuality I'm looking for this code and I'd like to get your help please your advice ..

    I want code to check this command
    Code:
    ping 192.168.1.1 -t
    if the above IP pingable give message UP
    if the above IP is not pingable give message Down


    Thats all .. Please your advice to get the above code ..

  2. #2
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,263

    Re: Code for Pingable or Not

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Code for Pingable or Not

    A search of the CodeBank here should turn up several examples.

    My own attempts can be seen in Clean Ping in VB6 Code, version 3 there being a little cleaner than version 2 posted there first.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width